pathFromPoints
import { pathFromPoints } from 'pixi-silk/path';
function pathFromPoints(points: readonly Vec[], closed?: boolean): BezierPath;
A path through points with straight segments and corner anchors.
Parameters#
| Parameter | Type | Default value |
|---|---|---|
points | readonly Vec[] | undefined |
closed | boolean | false |