Table of Contents

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 float

the relative x coordinate for the second control point

y2 float

the relative y coordinate for the second control point

x float

the relative x coordinate for the end point

y float

the relative y coordinate for the end point

Exceptions

FormatException

if an error occured while processing the path