Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rect

Hierarchy

  • Rect

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Rect(x1: any, y1: any, x2: any, y2: any): Rect
  • Parameters

    • x1: any
    • y1: any
    • x2: any
    • y2: any

    Returns Rect

Properties

x1

x1: number

x2

x2: number

y1

y1: number

y2

y2: number

Methods

center

height

  • height(): number

width

  • width(): number