Type alias Rectangle

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

A rectangular area on the screen.

Type declaration

  • 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

Generated using TypeDoc