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

Rectangle definition in points or pixels (depending on the context).

Type declaration

  • h: number

    The height of the rectangle.

  • w: number

    The width of the rectangle.

  • x: number

    The x coordinate of the rectangle as the top left corner.

  • y: number

    The y coordinate of the rectangle as the top left corner.

Generated using TypeDoc