Header menu logo fable-electron-docs-api

Rectangle Type

Constructors

Constructor Description

Rectangle(x, y, width, height)

Full Usage: Rectangle(x, y, width, height)

Parameters:
    x : 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
x : 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

this.height

Full Usage: this.height

The height of the rectangle (must be an integer).

this.width

Full Usage: this.width

The width of the rectangle (must be an integer).

this.x

Full Usage: this.x

The x coordinate of the origin of the rectangle (must be an integer).

this.y

Full Usage: this.y

The y coordinate of the origin of the rectangle (must be an integer).

Type something to start searching.