Package: pumpkin.display


variable clipRect : Rect

Clip rect, clips contents this object and its children in the given rectangle in local space.

Sets the hasClipRect to true when setting, to disable the cliprect set hasClipRect to false.
Only works with if the rotation and scale >= 0 of all the DisplayObjects, this will be resolved in the future with a polygon clipping mask which will support any shape, orientation & scale.