createSVGPathSegCurvetoQuadraticRel method
Returns a stand-alone, parentless SVGPathSegCurvetoQuadraticRel object.
![]() ![]() |
Syntax
var retval = SVGPathElement.createSVGPathSegCurvetoQuadraticRel(x, y, x1, y1);Parameters
- x [in]
-
Type: Floating-point
The relative x- coordinate for the end point of this path segment.
- y [in]
-
Type: Floating-point
The relative y-coordinate for the end point of this path segment.
- x1 [in]
-
Type: Floating-point
The relative x-coordinate for the first control point.
- y1 [in]
-
Type: Floating-point
The relative y-coordinate for the first control point.
Return value
Type: ISVGPathSegCurvetoQuadraticRel
A stand-alone, parentless SVGPathSegCurvetoQuadraticRel object.
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.23
Remarks
Returns a stand-alone, parentless quadratic Bézier curve that is drawn from the current point to the specified point by using the specified control point and relative coordinates.
See also
Show:

