removeAnchors
import { removeAnchors } from 'pixi-silk/path';
function removeAnchors(path: BezierPath, indices: readonly number[]): BezierPath;
Removes the anchors at indices. A closed path left with fewer than two anchors opens.
Parameters#
| Parameter | Type |
|---|---|
path | BezierPath |
indices | readonly number[] |