Rectangle Type
Constructors
| Constructor |
Description
|
Full Usage:
Rectangle(x, y, width, height)
Parameters:
float
-
The x coordinate of the origin of the rectangle (must be an integer).
y : float
-
The y coordinate of the origin of the rectangle (must be an integer).
width : float
-
The width of the rectangle (must be an integer).
height : float
-
The height of the rectangle (must be an integer).
Returns: Rectangle
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.height
|
The height of the rectangle (must be an integer). |
Full Usage:
this.width
|
The width of the rectangle (must be an integer). |
Full Usage:
this.x
|
The x coordinate of the origin of the rectangle (must be an integer). |
Full Usage:
this.y
|
The y coordinate of the origin of the rectangle (must be an integer). |
fable-electron-docs-api