Constructors
constructor
-
Parameters
-
Parameters
Properties
max
min
Methods
contains
- contains(otherBounds: Bounds): boolean
- contains(point: Point): boolean
-
Parameters
Returns boolean
-
Parameters
Returns boolean
extend
- extend(point: Point): void
-
Parameters
Returns void
getCenter
-
getSize
-
intersects
- intersects(otherBounds: Bounds): boolean
-
Parameters
Returns boolean
isValid
-
Returns boolean
Creates a Bounds object from two coordinates (usually top-left and bottom-right corners).