segmentAt
import { segmentAt } from 'pixi-silk/path';
function segmentAt(path: BezierPath, i: number): Cubic;
Segment i as a cubic, from anchor i to the next one. A straight segment has its controls on its ends.
Parameters#
| Parameter | Type |
|---|---|
path | BezierPath |
i | number |