SVGGeometryElement: pathLength property

The SVGGeometryElement.pathLength property reflects the pathLength attribute and returns the total length of the path, in user units.

Value

A number.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGGeometryElement__pathLength

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
pathLength