C# Class ImageMagick.PathCurveToRel

Draws a cubic Bezier curve from the current point to (x, y) 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 using relative coordinates. At the end of the command, the new current point becomes the final (x, y) coordinate pair used in the polybezier.
Inheritance: IPath
Show file Open project: dlemstra/Magick.NET

Public Methods

Method Description
PathCurveToRel ( PointD controlPointStart, PointD controlPointEnd, PointD end )

Initializes a new instance of the PathCurveToRel class.

PathCurveToRel ( double x1, double y1, double x2, double y2, double x, double y )

Initializes a new instance of the PathCurveToRel class.

Private Methods

Method Description
IPath ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

PathCurveToRel() public method

Initializes a new instance of the PathCurveToRel class.
public PathCurveToRel ( PointD controlPointStart, PointD controlPointEnd, PointD end )
controlPointStart PointD Coordinate of control point for curve beginning
controlPointEnd PointD Coordinate of control point for curve ending
end PointD Coordinate of the end of the curve

PathCurveToRel() public method

Initializes a new instance of the PathCurveToRel class.
public PathCurveToRel ( double x1, double y1, double x2, double y2, double x, double y )
x1 double X coordinate of control point for curve beginning
y1 double Y coordinate of control point for curve beginning
x2 double X coordinate of control point for curve ending
y2 double Y coordinate of control point for curve ending
x double X coordinate of the end of the curve
y double Y coordinate of the end of the curve