Function: inRotatedBox()
ts
function inRotatedBox(b, x, y, slop?): boolean;Experimental
Whether a container point lies inside a rotated box (with slop px of tolerance).
Parameters
| Parameter | Type | Default value |
|---|---|---|
b | RotatedBox | undefined |
x | number | undefined |
y | number | undefined |
slop | number | 0 |
Returns
boolean