Class PathCurveToRel
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
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.
public sealed class PathCurveToRel : IPathCurveTo, IPath
- Inheritance
-
PathCurveToRel
- Implements
-
IPathCurveToIPath
- Inherited Members
Constructors
PathCurveToRel(PointD, PointD, PointD)
Initializes a new instance of the PathCurveToRel class.
public PathCurveToRel(PointD controlPointStart, PointD controlPointEnd, PointD end)
Parameters
controlPointStartPointDCoordinate of control point for curve beginning.
controlPointEndPointDCoordinate of control point for curve ending.
endPointDCoordinate of the end of the curve.
PathCurveToRel(double, double, double, double, double, double)
Initializes a new instance of the PathCurveToRel class.
public PathCurveToRel(double x1, double y1, double x2, double y2, double x, double y)
Parameters
x1doubleX coordinate of control point for curve beginning.
y1doubleY coordinate of control point for curve beginning.
x2doubleX coordinate of control point for curve ending.
y2doubleY coordinate of control point for curve ending.
xdoubleX coordinate of the end of the curve.
ydoubleY coordinate of the end of the curve.
Properties
ControlPointEnd
Gets the coordinate of control point for curve ending.
public PointD ControlPointEnd { get; }
Property Value
- PointD
ControlPointStart
Gets the coordinate of control point for curve beginning.
public PointD ControlPointStart { get; }
Property Value
- PointD
End
Gets the coordinate of the end of the curve.
public PointD End { get; }
Property Value
- PointD