getSvgPathFromStrokePoints
See source codeTurn an array of stroke points into a path of quadradic curves.
function getSvgPathFromStrokePoints(
points: StrokePoint[],
closed?: boolean
): string
Parameters
Name | Description |
---|---|
| The stroke points returned from perfect-freehand |
|
Whether the shape is closed |
Returns
string
Prev
getStrokePointsNext
getUncroppedSize