toggleAnchorType
import { toggleAnchorType } from 'pixi-silk/path';
function toggleAnchorType(path: BezierPath, index: number): BezierPath;
Switches anchor index between a sharp corner (handles removed) and a smooth curve.
Parameters#
| Parameter | Type |
|---|---|
path | BezierPath |
index | number |