getSvgPathFromPoints

See source code

Turn an array of points into a path of quadratic curves.

function getSvgPathFromPoints(points: VecLike[], closed?: boolean): string;

Parameters

NameDescription

points

VecLike[];

The points returned from perfect-freehand

closed

boolean;

Whether the stroke is closed

Returns

string;
Prev
getSvgAsImage
Next
getUserPreferences