Constructor
new BoxClipRectangle(x, y, width, height)
Constructs a new BoxClipRectangle object.
Parameters:
Name | Type | Description |
---|---|---|
x | number | The x-coordinate of the top-left corner of the rectangle. |
y | number | The y-coordinate of the top-left corner of the rectangle. |
width | number | The width of the rectangle. |
height | number | The height of the rectangle. |
- Source
Extends
Members
type
Gets the type of the clip rectangle.
- Overrides
- Source
Methods
asMap() → {Map.<string, any>}
Converts the BoxClipRectangle object to a Map.
- Source
Returns:
- The Map representation of the BoxClipRectangle object.
- Type:
- Map.<string, any>