AboutSupportDeveloper GuideVersion 41.133.100.79

A rectangular area on the screen.

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