getSvgPathFromStrokePoints

Public Function

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

Parameters
NameDescription

points

StrokePoint[]

The stroke points returned from perfect-freehand

closed

(optional)

boolean

Whether the shape is closed

Returns
string
References

StrokePoint

Edit this page
Last edited on 11 May 2023
getSvgPathFromStrokegetTextBoundingBox