Back to Content

SVGGeometryElement: pathLength property

files/en-us/web/api/svggeometryelement/pathlength/index.md

latest271 B
Original Source

{{APIRef("SVG")}}

The SVGGeometryElement.pathLength property reflects the {{SVGAttr("pathLength")}} attribute and returns the total length of the path, in user units.

Value

A number.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}