Skip to content
pixi-silk
GitHub repository
Type

LayerIcon

import type { LayerIcon } from 'pixi-silk/ui/layers';
type LayerIcon = 
  | LayerKind
  | ((g: SilkGraphics, size: number, color: number) => void);

The icon of a layer row: a built-in kind, or a function that draws one centred on (0, 0).