isStraight
import { isStraight } from 'pixi-silk/path';
function isStraight(path: BezierPath, i: number): boolean;
True when segment i has no handles: a straight line.
Parameters#
| Parameter | Type |
|---|---|
path | BezierPath |
i | number |
Returns#
boolean
import { isStraight } from 'pixi-silk/path';
function isStraight(path: BezierPath, i: number): boolean;
True when segment i has no handles: a straight line.
| Parameter | Type |
|---|---|
path | BezierPath |
i | number |
boolean