Skip to content
pixi-silk
GitHub repository
Interface

PathAnchor

import type { PathAnchor } from 'pixi-silk/path';

One point of a path. in and out are handle offsets from the anchor, not positions.

Properties#

PropertyTypeDescriptionDefined in
in?VecHandle that shapes the segment arriving at this anchor.path.ts:29
out?VecHandle that shapes the segment leaving it.path.ts:31
typeAnchorTypeHow the two handles move together when one is edited.path.ts:33
xnumberAnchor x, in the path’s units.path.ts:25
ynumberAnchor y, in the path’s units.path.ts:27