getTotalLength

open override fun getTotalLength(): Float(source)

The getTotalLength() method of the SVGPathElement interface returns the user agent's computed value for the total length of the path in user units.

MDN Reference