PathSnapInfo
import type { PathSnapInfo } from 'pixi-silk/ui/pathgizmo';
What is being snapped, as the snap option gets it.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
index | number | Index of the anchor dragged, or of the handle’s anchor. | ui/pathgizmo.ts:237 |
kind | "anchor" | "pen" | "handle" | What moves: an anchor drag, a handle drag or a pen click or drag. | ui/pathgizmo.ts:235 |
side? | HandleSide | Which handle, for kind: 'handle'. | ui/pathgizmo.ts:239 |