Graphics.FillPolygon Method (Brush, Point[])

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

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

Syntax

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

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.

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.

By default it uses Alternate fill mode.

See Also

Reference