Graphics.FillBeziers Method

Fills the interior of a sequence of Bezier curves defined by an array of PointF structures.

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

Syntax

C#
public void FillBeziers(
	Brush brush,
	PointF[] points
)

Parameters

brush

Type: Aurigma.GraphicsMill.AdvancedDrawing.Brush

A Brush that determines the characteristics of the fill.
points

Type: System.Drawing.PointF[]

An array of PointF structures that represents the curves.

Remarks

A Bezier curve 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 curve bends.

The ending point of one curve will be the starting point of the next one. Therefore, for splines, except for the first one in the array, you need to specify three points instead of four.

See Also

Reference