Inherited from SVGElement
Note: In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherent 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.
- Scalable Vector Graphics: Paths, Section 8.5.14
The SVGPathSegLinetoHorizontalRel object has these properties:
- pathSegType: Gets the type of the path segment.
- pathSegTypeAsLetter: Gets the type of the path segment, specified by the corresponding one-character command name.
- x: Gets or sets the x-coordinate value.
Microsoft Developer Network: [Windows Internet Explorer API reference Article]