SVGPathSeg object
Defines a single path data command.
![]() ![]() |
Members
The SVGPathSeg object has these types of members:
Properties
The SVGPathSeg object has these properties.
| Property | Description |
|---|---|
|
Gets the type of the path segment. | |
|
Gets the type of the path segment, specified by the corresponding one-character command name. |
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.1
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.
The object can define either moveto, line, curve (both cubic and quadratic Béziers), arc, or closepath command.
Show:

