Class PathSmoothCurveToAbs
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Draws a cubic Bezier curve from the current point to (x,y) using absolute coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurveToAbs, PathCurveToRel, PathSmoothCurveToAbs or PathSmoothCurveToRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
public sealed class PathSmoothCurveToAbs : IPathSmoothCurveTo, IPath
- Inheritance
-
PathSmoothCurveToAbs
- Implements
-
IPathSmoothCurveToIPath
- Inherited Members
Constructors
PathSmoothCurveToAbs(PointD, PointD)
Initializes a new instance of the PathSmoothCurveToAbs class.
public PathSmoothCurveToAbs(PointD controlPoint, PointD end)
Parameters
controlPointPointDCoordinate of second point.
endPointDCoordinate of final point.
PathSmoothCurveToAbs(double, double, double, double)
Initializes a new instance of the PathSmoothCurveToAbs class.
public PathSmoothCurveToAbs(double x2, double y2, double x, double y)
Parameters
x2doubleX coordinate of second point.
y2doubleY coordinate of second point.
xdoubleX coordinate of final point.
ydoubleY coordinate of final point.
Properties
ControlPoint
Gets the coordinate of second point.
public PointD ControlPoint { get; }
Property Value
- PointD
End
Gets the coordinate of final point.
public PointD End { get; }
Property Value
- PointD