pathSegList property
Gets or sets the static contents of the d attribute in a form that matches the Scalable Vector Graphics (SVG) syntax.
![]() ![]() |
Syntax
| JavaScript |
|---|
p = object.pathSegList |
Property values
Type: Object
The contents of the d attribute.
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.22
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
Show:

