Path.CurveTo Method (PointF, PointF, PointF)

Adds a cubic Bezier curve to the path.

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void CurveTo(
	PointF ctrlPoint1,
	PointF ctrlPoint2,
	PointF point
)

Parameters

ctrlPoint1

Type: System.Drawing.PointF

The first control point for the curve.
ctrlPoint2

Type: System.Drawing.PointF

The second control point for the curve.
point

Type: System.Drawing.PointF

The ending point of the curve.

Remarks

The starting point of the curve is the last point in the path.

Examples

C#
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));

See Also

Reference

Manual