Graphics.FillPolygon
FillPolygon(Brush, PointF[])
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
FillPolygon(Brush, PointF[], FillMode)
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
FillPolygon(Brush, Point[])
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
FillPolygon(Brush, Point[], FillMode)
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