C# Class ImageMagick.PathSmoothQuadraticCurveToAbs

Draws a quadratic Bezier curve (using absolute 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
Show file Open project: dlemstra/Magick.NET

Public Methods

Method Description
PathSmoothQuadraticCurveToAbs ( PointD end )

Initializes a new instance of the PathSmoothQuadraticCurveToAbs class.

PathSmoothQuadraticCurveToAbs ( double x, double y )

Initializes a new instance of the PathSmoothQuadraticCurveToAbs class.

Private Methods

Method Description
IPath ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

PathSmoothQuadraticCurveToAbs() public method

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

PathSmoothQuadraticCurveToAbs() public method

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