getSmoothPathFromPoints
getSmoothPathFromPoints(
points,correction?):TSimplePathData
Defined in: src/util/path/index.ts:910
Converts points to a smooth SVG path
Parameters
Section titled “Parameters”points
Section titled “points”Point[]
Array of points
correction?
Section titled “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
Section titled “Returns”An array of SVG path commands