SVGPathSegCurvetoCubicSmoothRel object
Defines a SVGPathSeg command with a relative smooth curveto Bézier path data.
![]() ![]() |
Members
The SVGPathSegCurvetoCubicSmoothRel object has these types of members:
Properties
The SVGPathSegCurvetoCubicSmoothRel object has these properties.
| Property | Description |
|---|---|
|
Gets the type of the path segment. | |
|
Gets the type of the path segment, specified by the corresponding one-character command name. | |
|
Gets or sets the x-coordinate value. | |
|
Gets or sets the absolute or relative x-coordinate for the second control point. | |
|
Gets or sets the y-coordinate value. | |
|
Gets or sets the absolute or relative y-coordinate for the second control point. |
Standards information
- Scalable Vector Graphics: Paths, Section 8.5.18
Remarks
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.

