moveAnchors
import { moveAnchors } from 'pixi-silk/path';
function moveAnchors(
path: BezierPath,
indices: readonly number[],
dx: number,
dy: number
): BezierPath;
Moves the anchors at indices by (dx, dy). Their handles move with them.
Parameters#
| Parameter | Type |
|---|---|
path | BezierPath |
indices | readonly number[] |
dx | number |
dy | number |