getSvgPathFromPoints

See source code

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

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

Parameters

NameDescription

points

The points returned from perfect-freehand

closed

boolean

Whether the stroke is closed

Returns

string
Prev
getSnapshot
Next
getUserPreferences