Constructors
constructor
-
Type parameters
Parameters
-
left: number
-
top: number
-
width: number
-
height: number
Returns Rect<Vector_T>
-
Type parameters
Parameters
Returns Rect<Vector_T>
Methods
contains
- contains(x: number, y: number): boolean
- contains(point: PointType<Vector_T>): boolean
-
Parameters
Returns boolean
-
Parameters
Returns boolean
intersects
- intersects(rect: Rect<Vector_T>): false | Rect<Vector_T>
-
Parameters
Returns false | Rect<Vector_T>