boundingBox property

  1. @override
PRectangle get boundingBox
override

The bounding box of this element.

Implementation

@override
PRectangle get boundingBox {
  final position = this.position.resolve();
  return PRectangle(position.x, position.y, graphic.width, graphic.height);
}