pathSegList property

Gets or sets the static contents of the d attribute in a form that matches the Scalable Vector Graphics (SVG) syntax.

Scalable Vector Graphics: Paths, Section 8.5.22Internet Explorer 9

 

Syntax

JavaScript
p = object.pathSegList

 

Property values

Type: Object

The contents of the d attribute.

Standards information

Remarks

With the pathSegList property, you can access the base (or static) contents of the d attribute in a form that directly matches the SVG syntax. If the d attribute contains an "absolute moveto (M)" and an "absolute arcto (A)" command, pathSegList contains two entries: SVG_PATHSEG_MOVETO_ABS and SVG_PATHSEG_ARC_ABS.

See also

SVGPathElement
animatedPathSegList

 

 

Show: