SVGPathSegList object
Defines a list of SVGPathSeg objects.
![]() ![]() |
Members
The SVGPathSegList object has these types of members:
Methods
The SVGPathSegList object has these methods.
| Method | Description |
|---|---|
| appendItem |
Inserts a new item at the end of the list. |
| clear |
Clears all existing items from the list, which creates an empty list. |
| getItem |
Returns the specified item from a list. |
| initialize |
Clears current items from the list and re-initializes the list to contain the specified item. |
| insertItemBefore |
Inserts a new item into a list at a specified position. |
| removeItem |
Removes an existing item from the list. |
| replaceItem |
Replaces a specified existing item in the list with a specified new item. |
Properties
The SVGPathSegList object has these properties.
| Property | Description |
|---|---|
|
Gets or sets the number of items in a list. |
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.21
Remarks
Note In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherit core HTML attributes, properties, events, methods, and styles.
Show:

