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)
public void FillPolygon( Brush brush, Point[] points, FillMode fillMode )
Type: Aurigma.GraphicsMill.Drawing.Brush
A Brush that determines the characteristics of the fill.Type: System.Drawing.Point[]
An array of Point structures that represent the vertices of the polygon to fill.Type: System.Drawing.Drawing2D.FillMode
A member of the FillMode enumeration that determines the style of the fill.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.