Skip to content
pixi-silk
GitHub repository
Interface

PathGizmoState

import type { PathGizmoState } from 'pixi-silk/ui/pathgizmo';

The signals of a PathGizmo.

Properties#

PropertyTypeDescriptionDefined in
draggingReadSignal<boolean>True while a press is being dragged.ui/pathgizmo.ts:270
hoverReadSignal<PathHit | null>What the pointer is over.ui/pathgizmo.ts:266
pathSignal<BezierPath>The path being edited. Set it to load another one.ui/pathgizmo.ts:262
selectedSignal<readonly number[]>Indices of the selected anchors.ui/pathgizmo.ts:264
toolSignal<PathTool>edit moves anchors and handles, pen adds anchors.ui/pathgizmo.ts:268