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
getSvgAsImage
Next
getUserPreferences
hi

We use cookies on this website.
Learn more in our Cookie Policy.