Skip to content
pixi-silk
GitHub repository
Function

reversePath

import { reversePath } from 'pixi-silk/path';
function reversePath(path: BezierPath): BezierPath;

The same path traced the other way: anchors in reverse order, in and out handles swapped.

Parameters#

ParameterType
pathBezierPath

Returns#

BezierPath