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

SVGPathSegCurvetoCubicRel object

Defines a SVGPathSeg command with a relative curveto Bézier path data.

Scalable Vector Graphics: Paths, Section 8.5.8Internet Explorer 9

 

Members

The SVGPathSegCurvetoCubicRel object has these types of members:

Properties

The SVGPathSegCurvetoCubicRel object has these properties.

PropertyDescription

pathSegType

Gets the type of the path segment.

pathSegTypeAsLetter

Gets the type of the path segment, specified by the corresponding one-character command name.

x

Gets or sets the x-coordinate value.

x1

Gets or sets the absolute or relative x-coordinate for the first control point.

x2

Gets or sets the absolute or relative x-coordinate for the second control point.

y

Gets or sets the y-coordinate value.

y1

Gets or sets the absolute or relative y-coordinate for the first control point.

y2

Gets or sets the absolute or relative y-coordinate for the second control point.

 

Standards information

Remarks

Note  In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherit core HTML attributes, properties, events, methods, and styles.

The c object uses relative coordinates to draw a cubic Bézier curve from the current point to (x,y) by using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve. You can specify multiple sets of coordinates to draw a polybézier. At the end of the command, the new current point becomes the final (x,y) coordinate pair that is used in the polybézier.

 

 

Show:
© 2015 Microsoft