PathGizmoState
import type { PathGizmoState } from 'pixi-silk/ui/pathgizmo';
The signals of a PathGizmo.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
dragging | ReadSignal<boolean> | True while a press is being dragged. | ui/pathgizmo.ts:270 |
hover | ReadSignal<PathHit | null> | What the pointer is over. | ui/pathgizmo.ts:266 |
path | Signal<BezierPath> | The path being edited. Set it to load another one. | ui/pathgizmo.ts:262 |
selected | Signal<readonly number[]> | Indices of the selected anchors. | ui/pathgizmo.ts:264 |
tool | Signal<PathTool> | edit moves anchors and handles, pen adds anchors. | ui/pathgizmo.ts:268 |