C# Class ImageMagick.PathSmoothQuadraticCurveToRel

Draws a quadratic Bezier curve (using relative coordinates) from the current point to (X, Y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a PathQuadraticCurveToAbs, PathQuadraticCurveToRel, PathSmoothQuadraticCurveToAbs or PathSmoothQuadraticCurveToRel, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (X,Y) coordinate pair used in the polybezier.
Inheritance: IPath
显示文件 Open project: dlemstra/Magick.NET

Public Methods

Method Description
PathSmoothQuadraticCurveToRel ( PointD end )

Initializes a new instance of the PathSmoothQuadraticCurveToRel class.

PathSmoothQuadraticCurveToRel ( double x, double y )

Initializes a new instance of the PathSmoothQuadraticCurveToRel class.

Private Methods

Method Description
IPath ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

PathSmoothQuadraticCurveToRel() public method

Initializes a new instance of the PathSmoothQuadraticCurveToRel class.
public PathSmoothQuadraticCurveToRel ( PointD end )
end PointD Coordinate of final point

PathSmoothQuadraticCurveToRel() public method

Initializes a new instance of the PathSmoothQuadraticCurveToRel class.
public PathSmoothQuadraticCurveToRel ( double x, double y )
x double X coordinate of final point
y double Y coordinate of final point