FillPolygon

Graphics.FillPolygon method (1 of 4)

Fills the interior of a polygon defined by an array of points specified by PointF structures and Alternate.

public void FillPolygon(Brush brush, PointF[] points)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
points PointF[] Array of PointF structures that represent the vertices of the polygon to fill.

Exceptions

exception condition
ArgumentNullException brush is null. -or- points is null.

See Also


Graphics.FillPolygon method (2 of 4)

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

public void FillPolygon(Brush brush, PointF[] points, FillMode fillMode)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
points PointF[] Array of PointF structures that represent the vertices of the polygon to fill.
fillMode FillMode Member of the FillMode enumeration that determines the style of the fill.

Exceptions

exception condition
ArgumentNullException brush is null. -or- points is null.

See Also


Graphics.FillPolygon method (3 of 4)

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

public void FillPolygon(Brush brush, Point[] points)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
points Point[] Array of Point structures that represent the vertices of the polygon to fill.

Exceptions

exception condition
ArgumentNullException brush is null. -or- points is null.

See Also


Graphics.FillPolygon method (4 of 4)

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

public void FillPolygon(Brush brush, Point[] points, FillMode fillMode)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
points Point[] Array of Point structures that represent the vertices of the polygon to fill.
fillMode FillMode Member of the FillMode enumeration that determines the style of the fill.

Exceptions

exception condition
ArgumentNullException brush is null. -or- points is null.

See Also