Skip to content
pixi-silk
GitHub repository
Type

RulerTarget

import type { RulerTarget } from 'pixi-silk/ui/ruler';
type RulerTarget = 
  | Container
  | readonly Container[]
  | WorldRect;

What a Ruler highlights: objects, followed every frame through their axis-aligned bounds, or a fixed rectangle in world units.