Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rectangle

Container class to hold information about a rectangle.

Hierarchy

  • Rectangle

Index

Constructors

Properties

Constructors

constructor

  • new Rectangle(left: number, top: number, width: number, height: number): Rectangle
  • Parameters

    • left: number
    • top: number
    • width: number
    • height: number

    Returns Rectangle

Properties

height

height: number

Width of the rectangle.

left

left: number

Distance from the left edge of a parent.

top

top: number

Distance from the top edge of a parent.

width

width: number

Height of the rectangle.

Generated using TypeDoc