This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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

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