quadInside
import { quadInside } from 'pixi-silk/ui/marquee';
function quadInside(q: Quad, r: WorldRect): boolean;
True when all four corners of a quad are inside an axis-aligned rectangle, edges included.
Parameters#
| Parameter | Type |
|---|---|
q | Quad |
r | WorldRect |
Returns#
boolean