Rectangle.setPosition()
Set this rectangle with position and size given as parameter
Parameters
Name | Type | Description | |
---|---|---|---|
1 | positionX | number | |
2 | positionY | number |
Return value
Rectangle
the rectangle with its new values
Usage
Set this rectangle with position and size given as parameter
Name | Type | Description | |
---|---|---|---|
1 | positionX | number | |
2 | positionY | number |
Rectangle
the rectangle with its new values