Skip to content
pixi-silk
GitHub repository
Type

MeasureTarget

import type { MeasureTarget } from 'pixi-silk/ui/measure';
type MeasureTarget = Container | MeasureRect;

What Measure can measure: a box in the measured space, or a container. A container is read as the axis-aligned box around its transformed local bounds, every frame. A destroyed or detached container measures as nothing.