getSmoothPathFromPoints
getSmoothPathFromPoints(
points
,correction
?):TSimplePathData
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