Interface IRect

Represents a rectangle with coordinates for the left, top, right, and bottom edges.

interface IRect {
    left: number;
    top: number;
    right: number;
    bottom: number;
}

Implemented by

Properties

Properties

left: number

The left coordinate of the rectangle. Can be used as the X coordinate of the window/control.

top: number

The top coordinate of the rectangle. Can be used as the Y coordinate of the window/control.

right: number

The right coordinate of the rectangle. Can be used as the width of the window/control.

bottom: number

The bottom coordinate of the rectangle. Can be used as the height of the window/control.