Firefox Tomorrow

web api instance method

SVGGeometryElement: getPointAtLength() method

View on MDN ↗

The SVGGeometryElement.getPointAtLength() method returns the point at a given distance along the path.

Syntax

getPointAtLength(distance)

Parameters

  • distance
    • : A float referring to the distance along the path.

Return value

A DOMPoint indicating the point at a given distance along the path.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.