Skip to content
pixi-silk
GitHub repository
Function

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#

ParameterType
pathBezierPath
inumber

Returns#

boolean