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

Draws a Bezier spline defined by four Point structures.

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

Syntax

C#
public void DrawBezier(
	Pen pen,
	Point pt1,
	Point pt2,
	Point pt3,
	Point pt4
)

Parameters

pen

Type: Aurigma.GraphicsMill.Drawing.Pen

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

Type: System.Drawing.Point

A Point structure that represents the starting point of the curve.
pt2

Type: System.Drawing.Point

A Point structure that represents the first control point for the curve.
pt3

Type: System.Drawing.Point

A Point structure that represents the second control point for the curve.
pt4

Type: System.Drawing.Point

A Point 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