Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Rect

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Rect(left: number, top: number, right: number, bottom: number): Rect
  • Parameters

    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns Rect

Properties

bottom

bottom: number

left

left: number

right

right: number

top

top: number

Accessors

centerX

  • get centerX(): number
  • Returns number

centerY

  • get centerY(): number
  • Returns number

height

  • get height(): number
  • Returns number

width

  • get width(): number
  • Returns number

Methods

sort

Static fromJava

  • fromJava(javaRect: any): Rect
  • Parameters

    • javaRect: any

    Returns Rect

Generated using TypeDoc