Interface IClipRectLayer
interface IClipRectLayer
Extends ILayer
Interface for a ILayer that supports clipping with Rect.
The IClipRectLayer interface extends the ILayer interface and adds methods for setting and retrieving
the Rect used for intersecting clipping operation with anti-aliasing enabled.
Methods
setRect()
This method sets thevoidsetRect(Rect*rect)
Rect used for clipping content within the ILayer.
Parameters
rect
Rect* — Required
A Rect object representing the rectangle used for clipping.
getRect()
Rect getRect()
This method retrieves the Rect used for clipping content within the ILayer.
Returns
Rect
The Rect object representing the rectangle used for clipping.

