Graphics.FillPolygon Method (Brush, Point[], FillMode)

Fills the interior of a polygon defined by an array of points specified by Point structures using the specified fill mode.

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

Syntax

C#
public void FillPolygon(
	Brush brush,
	Point[] points,
	FillMode fillMode
)

Parameters

brush

Type: Aurigma.GraphicsMill.Drawing.Brush

A Brush that determines the characteristics of the fill.
points

Type: System.Drawing.Point[]

An array of Point structures that represent the vertices of the polygon to fill.
fillMode

Type: System.Drawing.Drawing2D.FillMode

A member of the FillMode enumeration that determines the style of the fill.

Remarks

Polygon can be treated as closed polyline, where last point is connected with the first one.

To outline the polygon, use DrawPolygon(Pen, Point[]) method.

See Also

Reference