Skip to main content Bounds
Class Bounds
constructor (xMin: number, xMax: number, yMin: number, yMax: number): Bounds
Name | Type | Default | Description |
xMin | number | | |
xMax | number | | |
yMin | number | | |
yMax | number | | |
Accessor .rect : Rectangle
Method .contains (p: Point): boolean
Name | Type | Default | Description |
p | Point | | |
Method .containsX (p: Point): boolean
Name | Type | Default | Description |
p | Point | | |
Method .containsY (p: Point): boolean
Name | Type | Default | Description |
p | Point | | |
Method .resize (dx: number, dy: number): Bounds
Name | Type | Default | Description |
dx | number | | |
dy | number | | |