Graphics.FillBezier Method (Brush, PointF, PointF, PointF, PointF)

Fills the interior of a Bezier curve defined by four PointF structures.

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

Syntax

C#
public void FillBezier(
	Brush brush,
	PointF point,
	PointF controlPoint1,
	PointF controlPoint2,
	PointF endPoint
)

Parameters

brush

Type: Aurigma.GraphicsMill.AdvancedDrawing.Brush

A Brush that determines the characteristics of the fill.
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 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.

See Also

Reference