updateBounds method

void updateBounds([
  1. double multiplier = 1.0
])

Implementation

void updateBounds([double multiplier = 1.0]) {
  for (var annotation in annotations) {
    annotation.bounds = Rect.fromXYWH(
      annotation.bounds.x + bounds.x * multiplier,
      annotation.bounds.y + bounds.y * multiplier,
      annotation.bounds.width,
      annotation.bounds.height,
    );
  }
}