createSVGPathSegCurvetoCubicSmoothRel method
Returns a stand-alone, parentless SVGPathSegCurvetoCubicSmoothRel object.
![]() ![]() |
Syntax
ISVGPathSegCurvetoCubicSmoothRel retVal = object.createSVGPathSegCurvetoCubicSmoothRel(x, y, x2, y2);
Parameters
- x [in]
-
Type: float
The relative x-coordinate for the end point of this path segment.
- y [in]
-
Type: float
The relative y-coordinate for the end point of this path segment.
- x2 [in]
-
Type: float
The relative x-coordinate for the second control point.
- y2 [in]
-
Type: float
The relative y-coordinate for the second control point.
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.
Show:

