Sets the position of the Rectangle.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number |
The X coordinate of the top left corner of the Rectangle. |
||
y | number | <optional> | x |
The Y coordinate of the top left corner of the Rectangle. |
This Rectangle object.