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

