format
typescript
Rect.SetValues(x, y, w, h)class: Rect
description
Set the x, y, width, and height of the rectangle.
parameter
| param_name | type | description |
|---|---|---|
| x | number | The x-coordinate of the top-left corner of the Rect. |
| y | number | The y-coordinate of the top-left corner of the Rect. |
| w | number | The width of the Rect. |
| h | number | The height of the Rect. |
reture
| type | description |
|---|---|
void |
