Export (0) Print
Expand All
Expand Minimize

getPathSegAtLength method

Gets the index of pathSegList by using the specified distance along the path.

Scalable Vector Graphics: Paths, Section 8.5.23Internet Explorer 9



var retval = SVGPathElement.getPathSegAtLength(fltdistance);


fltdistance [in]

Type: Floating-point

The distance along the path, relative to the start of the path, in the current user coordinate system.

Return value

Type: Integer

The index of the path segment, where the first path segment is numbered zero.

Standards information

See also




© 2015 Microsoft