SVGPathElement
The SVGPathElement interface corresponds to the <path> element.
Note: In SVG 2 the getPathSegAtLength() and createSVGPathSeg* methods were removed and the pathLength property and the getTotalLength() and getPointAtLength() methods were moved to SVGGeometryElement.
Instance properties
This interface inherits properties from its parent, SVGGeometryElement.
Instance methods
This interface also inherits methods from its parent, SVGGeometryElement.
SVGPathElement.getPathSegAtLength()Deprecated-
Returns an unsigned long representing the index within the
pathSegListutilizing the user agent's distance-along-a-path algorithm. SVGPathElement.createSVGPathSegClosePath()Deprecated-
Returns a stand-alone, parentless
SVGPathSegClosePathobject. SVGPathElement.createSVGPathSegMovetoAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegMovetoAbsobject. SVGPathElement.createSVGPathSegMovetoRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegMovetoRelobject. SVGPathElement.createSVGPathSegLinetoAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegLinetoAbsobject. SVGPathElement.createSVGPathSegLinetoRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegLinetoRelobject. SVGPathElement.createSVGPathSegCurvetoCubicAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoCubicAbsobject. SVGPathElement.createSVGPathSegCurvetoCubicRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoCubicRelobject. SVGPathElement.createSVGPathSegCurvetoQuadraticAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoQuadraticAbsobject. SVGPathElement.createSVGPathSegCurvetoQuadraticRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoQuadraticRelobject. SVGPathElement.createSVGPathSegArcAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegArcAbsobject. SVGPathElement.createSVGPathSegArcRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegArcRelobject. SVGPathElement.createSVGPathSegLinetoHorizontalAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegLinetoHorizontalAbsobject. SVGPathElement.createSVGPathSegLinetoHorizontalRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegLinetoHorizontalRelobject. SVGPathElement.createSVGPathSegLinetoVerticalAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegLinetoVerticalAbsobject. SVGPathElement.createSVGPathSegLinetoVerticalRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegLinetoVerticalRelobject. SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoCubicSmoothAbsobject. SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoCubicSmoothRelobject. SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoQuadraticSmoothAbsobject. SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel()Deprecated-
Returns a stand-alone, parentless
SVGPathSegCurvetoQuadraticSmoothRelobject.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 2 # InterfaceSVGPathElement |
Browser compatibility
BCD tables only load in the browser
See also
<path>SVG Element