Interface Rectangle

A rectangle.

interface Rectangle {
    h: number;
    w: number;
    x: number;
    y: number;
}

Properties

h w x y

Properties

h: number

The rectangle height.

w: number

The rectangle width.

x: number

The left edge of the rectangle.

y: number

The top edge of the rectangle.

Generated using TypeDoc