Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

createSVGPathSegCurvetoCubicRel method

Returns a stand-alone, parentless SVGPathSegCurvetoCubicRel object.

Scalable Vector Graphics: Paths, Section 8.5.23Internet Explorer 9

 

Syntax

var retval = SVGPathElement.createSVGPathSegCurvetoCubicRel(x, y, x1, y1, 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.

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.

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: ISVGPathSegCurvetoCubicRel

A stand-alone, parentless SVGPathSegCurvetoCubicRel object.

Standards information

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 relative coordinates.

See also

SVGPathElement

 

 

Show:
© 2015 Microsoft