SVGGeometryElement.getPointAtLength()
The
SVGGeometryElement.getPointAtLength()
method returns the
point at a given distance along the path.
Syntax
DOMPoint someElement.getPointAtLength(float 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
Specification |
---|
Scalable Vector Graphics (SVG) 1.1 (Second Edition) # __svg__SVGGeometryElement__getPointAtLength |
Browser compatibility
BCD tables only load in the browser