Graphics.DrawBezier Method (Pen, PointF, PointF, PointF, PointF)

Draws a Bezier spline defined by four PointF structures.

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

Syntax

C#
public void DrawBezier(
	Pen pen,
	PointF point,
	PointF controlPoint1,
	PointF controlPoint2,
	PointF endPoint
)

Parameters

pen

Type: Aurigma.GraphicsMill.AdvancedDrawing.Pen

A Pen that determines the color, width, and style of the curve.
point

Type: System.Drawing.PointF

A PointF structure that represents the starting point of the curve.
controlPoint1

Type: System.Drawing.PointF

A PointF structure that represents the first control point for the curve.
controlPoint2

Type: System.Drawing.PointF

A PointF structure that represents the second control point for the curve.
endPoint

Type: System.Drawing.PointF

A PointF structure that represents the ending point of the curve.

Remarks

A Bezier spline is defined with four points: first and last point specify beginning and end of the curve, second and third points specify so-called control points. The control points act as magnets, pulling the curve in certain directions to influence the way the Bezier spline bends.

See Also

Reference

Manual