Constructor
new Rect(x, y, width, height)
Parameters:
| Name | Type | Description | 
|---|---|---|
| x | Number | |
| y | Number | |
| width | Number | |
| height | Number | 
- Source:
Methods
contains() → {boolean}
    Whether the specified position is included in this rectangle.
  
  Parameters:
| Type | Description | 
|---|---|
| Point | 
- Source:
intersect() → {boolean}
    Whether the specified rectangle intersects with this rectangle.
  
  Parameters:
| Type | Description | 
|---|---|
| Rect | 
- Source: