Method CurvetoCubicSmoothRel
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Model.dll
CurvetoCubicSmoothRel(float, float, float, float)
Invoked when a relative smooth cubic bezier curve command has been parsed. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point.
Command : s
public void CurvetoCubicSmoothRel(float x2, float y2, float x, float y)
Parameters
x2
floatthe relative x coordinate for the second control point
y2
floatthe relative y coordinate for the second control point
x
floatthe relative x coordinate for the end point
y
floatthe relative y coordinate for the end point
Exceptions
- FormatException
if an error occured while processing the path