Sets the position, width, and height of the Rectangle.
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. |
This Rectangle object.