SVGPathSegLinetoHorizontalRel
Inherits from SVGElementSVGElement
Properties
No properties.
Methods
No methods.
Events
No events.
Inherited from SVGElement
Properties
No properties.
Methods
No methods.
Events
No events.
Notes
Remarks
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.
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.14
Members
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.
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]