Export (0) Print
Expand All

SVGPathSegCurvetoCubicSmoothRel object

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

Scalable Vector Graphics: Paths, Section 8.5.18Internet Explorer 9

Members

The SVGPathSegCurvetoCubicSmoothRel object has these types of members:

Properties

The SVGPathSegCurvetoCubicSmoothRel 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.

x2

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

y

Gets or sets the y-coordinate value.

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 s object uses relative coordinates to draw a cubic Bézier curve from the current point to (x,y). The first control point is the reflection of the second control point on the previous command, relative to the current point. (If there is no previous command or if the previous command was not an C, c, S, or s command, assume that the first control point is coincident with the current point.) (x2,y2) is the second control point (that is, 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:
© 2014 Microsoft