Documentation / @ripl/core / getPathLength
Function: getPathLength() ​
getPathLength(
pathData):number
Defined in: packages/core/src/math/geometry.ts:142
Computes the total length of an SVG path from its d attribute string.
Parameters ​
| Parameter | Type |
|---|---|
pathData | string |
Returns ​
number