SVGPathSegLinetoHorizontalRel object
Defines a SVGPathSeg command with relative horizontal lineto path data.
![]() ![]() |
Members
The SVGPathSegLinetoHorizontalRel object has these types of members:
Properties
The SVGPathSegLinetoHorizontalRel 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. | |
|
Gets or sets the x-coordinate value. |
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.14
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 h object uses relative coordinates to draw a horizontal line from the current point (cpx, cpy) to (x, cpy). You can provide multiple x-coordinate values (typically, multiple coordinates do not make sense). At the end of the command, the new current point becomes (x, cpy) for the final value of x.
Show:

