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
controlPointStart
PointDCoordinate of control point for curve beginning.
controlPointEnd
PointDCoordinate of control point for curve ending.
end
PointDCoordinate 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
x1
doubleX coordinate of control point for curve beginning.
y1
doubleY coordinate of control point for curve beginning.
x2
doubleX coordinate of control point for curve ending.
y2
doubleY coordinate of control point for curve ending.
x
doubleX coordinate of the end of the curve.
y
doubleY 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