createSVGPathSegCurvetoCubicAbs method
Returns a stand-alone, parentless SVGPathSegCurvetoCubicAbs object.
![]() ![]() |
Syntax
var retval = SVGPathElement.createSVGPathSegCurvetoCubicAbs(x, y, x1, y1, x2, y2);Parameters
- x [in]
-
Type: Floating-point
The absolute x-coordinate for the end point of this path segment.
- y [in]
-
Type: Floating-point
The absolute y-coordinate for the end point of this path segment.
- x1 [in]
-
Type: Floating-point
The absolute x-coordinate for the first control point.
- y1 [in]
-
Type: Floating-point
The absolute y-coordinate for the first control point.
- x2 [in]
-
Type: Floating-point
The absolute x-coordinate for the second control point.
- y2 [in]
-
Type: Floating-point
The absolute y-coordinate for the second control point.
Return value
Type: ISVGPathSegCurvetoCubicAbs
A stand-alone, parentless SVGPathSegCurvetoCubicAbs 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 points and absolute coordinates.
See also

