The rectangle class
| Name | Type | Description |
|---|---|---|
x | number | The x coordinate for the upper-left corner |
y | number | The y coordinate for the upper-left corner |
width | number | The width of the rectangle |
height | number | The height of the rectangle |
Extends
- PIXI.Rectangle
Methods
- Initializes the rectangle object
Name Type Description xnumber The x coordinate for the upper-left corner ynumber The y coordinate for the upper-left corner widthnumber The width of the rectangle heightnumber The height of the rectangle