Defines a single path data command.
The SVGPathSeg object has these types of members:
The SVGPathSeg object has these properties.
Gets the type of the path segment.
Gets the type of the path segment, specified by the corresponding one-character command name.
- Scalable Vector Graphics: Paths, Section 8.5.1
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.