AboutSupportDeveloper GuideVersion 38.126.83.79

A rectangular area on the screen.

Remarks

Origin is top-left. All numbers are in pixels.

interface Rectangle {
    height: number;
    width: number;
    x: number;
    y: number;
}

Properties

Properties

height: number

The height of the rectangle in pixels

width: number

The width of the rectangle in pixels

x: number

The x coordinate of the rectangle's origin in pixels

y: number

The y coordinate of the rectangle's origin in pixels