LayoutRect: {
    h: number;
    w: number;
    x: number;
    y: number;
}

Structure used by the layout utilities.

It represents a bounding rect for a layout element.

Type declaration

  • h: number

    Height of the bounding rect.

  • w: number

    Width of the bounding rect.

  • x: number

    Position on the x axis of top left corner.

  • y: number

    Position on the y axis of top left corner.