getPaintBoundingBox method

  1. @override
PRectangle getPaintBoundingBox(
  1. PCanvas pCanvas
)
override

The bounding box of the painted area of this element.

Implementation

@override
PRectangle getPaintBoundingBox(PCanvas pCanvas) =>
    PRectangle(position.x, position.y, graphic.width, graphic.height);