new Rect(x, yopt, wopt, hopt)
Rect
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
x |
number | Object | ||
y |
number |
<optional> |
|
w |
number |
<optional> |
|
h |
number |
<optional> |
- Source: