Constructors
constructor
- new Rectangle2D(minX: number, minY: number, width: number, height: number): Rectangle2D
-
Parameters
-
minX: number
-
minY: number
-
width: number
-
height: number
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
Returns boolean
contains1
-
Parameters
Returns boolean
getHeight
-
Returns number
getMaxX
-
Returns number
getMaxY
-
Returns number
getMinX
-
Returns number
getMinY
-
Returns number
getWidth
-
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