Function isPointWithinRectangle
- isPointWithinRectangle(position, rectBounds): boolean
-
Parameters
-
-
rectBounds: {
height: number;
width: number;
x: number;
y: number;
}
-
Readonly
height: number
-
Readonly
width: number
-
Readonly
x: number
-
Readonly
y: number
Returns boolean