new Rectangle(x, y, width, height) → {void}
Parameters:
Name | Type | Description |
---|---|---|
x |
float | |
y |
float | |
width |
float | |
height |
float |
Properties:
Name | Type | Description |
---|---|---|
x |
float | |
y |
float | |
width |
float | |
height |
float |
- Source:
Methods
bottom() → {float}
- Source:
center() → {object}
- Source:
copy() → {object}
- Source:
left() → {float}
- Source:
right() → {float}
- Source:
top() → {float}
- Source: