Fills the interior of a polygon defined by an array of points specified by System.Drawing.Point structures using the specified fill mode.
- brush
- System.Drawing.Brush that determines the characteristics of the fill.
- points
- Array of System.Drawing.Point structures that represent the vertices of the polygon to fill.
- fillMode
- Member of the System.Drawing.Drawing2D.FillMode enumeration that determines the style of the fill.
Every two consecutive points in the array specify a side of the polygon. In addition, if the last point and the first point do not coincide, they specify the closing side of the polygon.