Path.CurveTo Method (PointF, PointF)

Adds a quadratic Bezier curve to the path.

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

Syntax

C#
public void CurveTo(
	PointF ctrlPoint,
	PointF point
)

Parameters

ctrlPoint

Type: System.Drawing.PointF

The 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));

See Also

Reference

Manual