PenPhase
import type { PenPhase } from 'pixi-silk/ui/pathgizmo';
type PenPhase = "idle" | "drawing" | "dragging" | "closing";
Where the pen tool is.
idle: not drawing. The next click starts or continues the path.drawing: the next click adds an anchor.dragging: the button is down on the newly placed anchor, and the drag pulls out its handles.closing: the click closed the path, and the drag shapes the first anchor.