createSVGPathSegCurvetoCubicSmoothRel method
Returns a stand-alone, parentless SVGPathSegCurvetoCubicSmoothRel object.
![]() ![]() |
Syntax
var retval = SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel(x, y, x2, y2);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.
- x2 [in]
-
Type: Floating-point
The relative x-coordinate for the second control point.
- y2 [in]
-
Type: Floating-point
The relative y-coordinate for the second control point.
Return value
Type: ISVGPathSegCurvetoCubicSmoothRel
A stand-alone, parentless SVGPathSegCurvetoCubicSmoothRel object.
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.23
Remarks
Returns a stand-alone, parentless cubic Bézier curve that is drawn from the current point to the specified point by using the specified control point and by using relative coordinates.
See also
Show:

