transform method
Implementation
PRectangle transform(PcanvasTransform t) {
if (t.isZeroTransformation) return this;
return PRectangle(x + t.translateX, y + t.translateY, width, height);
}
PRectangle transform(PcanvasTransform t) {
if (t.isZeroTransformation) return this;
return PRectangle(x + t.translateX, y + t.translateY, width, height);
}