createSVGPathSegLinetoHorizontalRel method
Returns a stand-alone, parentless SVGPathSegLinetoHorizontalRel object.
![]() ![]() |
Syntax
var retval = SVGPathElement.createSVGPathSegLinetoHorizontalRel(x);Parameters
- x [in]
-
Type: Floating-point
The relative x-coordinate for the end point of this path segment.
Return value
Type: ISVGPathSegLinetoHorizontalRel
A stand-alone, parentless SVGPathSegLinetoHorizontalRel object.
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.23
Remarks
Returns a stand-alone, parentless horizontal line that is drawn from the current point to the specified point by using the relative coordinates.
See also
Show:

