Adds a cubic Bezier curve to the path.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void CurveTo( PointF ctrlPoint1, PointF ctrlPoint2, PointF point )
Type: System.Drawing.PointF
The first control point for the curve.Type: System.Drawing.PointF
The second control point for the curve.Type: System.Drawing.PointF
The ending point of the curve.The starting point of the curve is the last point in the path.
var path = new Path(); path.MoveTo(10, 60); path.CurveTo(new System.Drawing.PointF(40, 20), new System.Drawing.PointF(70, 60), new System.Drawing.PointF(100, 20));