RenderableArea
A class that defines an area in pixels.
Constructor Summary
| Public Constructor | ||
| public |
constructor(_x: number, _x2: number, _y: number, _y2: number) |
|
Member Summary
| Public Members | ||
| public get |
The height of the area. |
|
| public get |
The surface of the area. |
|
| public get |
The width of the area. |
|
| public get |
The left x position. |
|
| public set |
x: * |
|
| public set |
x2: * |
|
| public get |
The right x position. |
|
| public get |
The top y position. |
|
| public set |
y: * |
|
| public get |
The bottom y position. |
|
| public set |
y2: * |
|
Method Summary
| Public Methods | ||
| public |
Clamps a value to the x axis bounds. |
|
| public |
Clamps a value to the y axis bounds. |
|