Skip to content
pixi-silk
GitHub repository
Function

boundsQuad

import { boundsQuad } from 'pixi-silk/ui/outline';
function boundsQuad(target: Container, space: Container): Quad;

Corners of target’s local bounds, mapped into space. Rotated objects give a rotated box. Measures the bounds on each call.

Parameters#

ParameterType
targetContainer
spaceContainer

Returns#

Quad