Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Rectangle2D(minX: number, minY: number, width: number, height: number): Rectangle2D
  • Parameters

    • minX: number
    • minY: number
    • width: number
    • height: number

    Returns Rectangle2D

Properties

height

height: number

maxX

maxX: number

maxY

maxY: number

minX

minX: number

minY

minY: number

width

width: number

Methods

contains

  • contains(x: number, y: number): boolean
  • Parameters

    • x: number
    • y: number

    Returns boolean

contains1

  • Parameters

    Returns boolean

getHeight

  • getHeight(): number
  • Returns number

getMaxX

  • getMaxX(): number
  • Returns number

getMaxY

  • getMaxY(): number
  • Returns number

getMinX

  • getMinX(): number
  • Returns number

getMinY

  • getMinY(): number
  • Returns number

getWidth

  • getWidth(): number
  • Returns number

intersects

  • intersects(x: number, y: number, w: number, h: number): boolean
  • Parameters

    • x: number
    • y: number
    • w: number
    • h: number

    Returns boolean

intersects1

  • Parameters

    Returns boolean