getSvgPathFromStroke

Public Function

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

Parameters
NameDescription

points

Vec2d[]

The points returned from perfect-freehand

closed

(optional)

boolean

Whether the stroke is closed

Returns
string
References

Vec2d

Edit this page
Last edited on 11 May 2023
getSvgAsStringgetSvgPathFromStrokePoints