inRect
inRect(
rect):Point
Defined in: src/geometry.ts:124
A uniform point inside a rectangle.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Example
Section titled “Example”inRect({ x: 0, y: 0, width: 1920, height: 1080 }); // [ 842.1, 219.7 ]