getPaintBoundingBox method
The bounding box of the painted area of this element.
Implementation
@override
PRectangle getPaintBoundingBox(PCanvas pCanvas) {
var position = this.position.resolve();
var dimension = this.dimension.resolve();
return PRectangle(pCanvas.canvasX(position.x), pCanvas.canvasX(position.y),
pCanvas.canvasX(dimension.width), pCanvas.canvasX(dimension.height));
}