Skip to content
pixi-silk
GitHub repository
Interface

PathSnapInfo

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

What is being snapped, as the snap option gets it.

Properties#

PropertyTypeDescriptionDefined in
indexnumberIndex 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?HandleSideWhich handle, for kind: 'handle'.ui/pathgizmo.ts:239