Defines a SVGPathSeg command with absolute horizontal lineto path data.
The SVGPathSegLinetoHorizontalAbs object has these types of members:
The SVGPathSegLinetoHorizontalAbs 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.
Gets or sets the x-coordinate value.
- Scalable Vector Graphics: Paths, Section 8.5.13
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 H object uses absolute coordinates to draw a quadratic Bézier curve from the current point to (x,y) by using (x1,y1) as the control point. You can specify multiple sets of coordinates to draw a polybézier. At the end of the command, the new current point becomes the final (x,y) coordinate pair that is used in the polybézier.