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#
| Property | Type | Description | Defined in |
|---|---|---|---|
in? | Vec | Handle that shapes the segment arriving at this anchor. | path.ts:29 |
out? | Vec | Handle that shapes the segment leaving it. | path.ts:31 |
type | AnchorType | How the two handles move together when one is edited. | path.ts:33 |
x | number | Anchor x, in the path’s units. | path.ts:25 |
y | number | Anchor y, in the path’s units. | path.ts:27 |