getSmoothPathFromPoints
getSmoothPathFromPoints(
points
,correction
?):TSimplePathData
Defined in: src/util/path/index.ts:910
Converts points to a smooth SVG path
Parameters
points
Point
[]
Array of points
correction?
number
= 0
Apply a correction to the path (usually we use width / 1000
). If value is undefined 0 is used as the correction value.
Returns
An array of SVG path commands