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

Fills the interior of a Bezier curve defined by four ordered pairs of coordinates that represent points.

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

Syntax

C#
public void FillBezier(
	Brush brush,
	float x,
	float y,
	float controlX1,
	float controlY1,
	float controlX2,
	float controlY2,
	float endX,
	float endY
)

Parameters

brush

Type: Aurigma.GraphicsMill.AdvancedDrawing.Brush

A Brush that determines the characteristics of the fill.
x

Type: System.Single

The x-coordinate of the starting point of the curve.
y

Type: System.Single

The y-coordinate of the starting point of the curve.
controlX1

Type: System.Single

The x-coordinate of the first control point for the curve.
controlY1

Type: System.Single

The y-coordinate of the first control point for the curve.
controlX2

Type: System.Single

The x-coordinate of the second control point for the curve.
controlY2

Type: System.Single

The y-coordinate of the second control point for the curve.
endX

Type: System.Single

The x-coordinate of the ending point of the curve.
endY

Type: System.Single

The y-coordinate of 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