segmentCount
import { segmentCount } from 'pixi-silk/path';
function segmentCount(path: BezierPath): number;
Number of segments: one fewer than the anchors, or as many when closed.
Parameters#
| Parameter | Type |
|---|---|
path | BezierPath |
Returns#
number
import { segmentCount } from 'pixi-silk/path';
function segmentCount(path: BezierPath): number;
Number of segments: one fewer than the anchors, or as many when closed.
| Parameter | Type |
|---|---|
path | BezierPath |
number