[]
Fills a polygon specified by an array of points, using a specified color and fill mode.
public void FillPolygon(PointF[] points, Color color, FillMode fillMode = FillMode.Alternate)
Public Sub FillPolygon(points As PointF(), color As Color, Optional fillMode As FillMode = FillMode.Alternate)
Type | Name | Description |
---|---|---|
PointF[] | points | An array of points specifying the polygon. |
Color | color | The fill color. |
FillMode | fillMode | The fill mode (alternate by default). |
Fills a polygon specified by an array of points, using a specified brush and fill mode.
public void FillPolygon(PointF[] points, Brush brush, FillMode fillMode = FillMode.Alternate, RectangleF? brushBounds = null, Matrix3x2? brushTransform = null)
Public Sub FillPolygon(points As PointF(), brush As Brush, Optional fillMode As FillMode = FillMode.Alternate, Optional brushBounds As RectangleF? = Nothing, Optional brushTransform As Matrix3x2? = Nothing)
Type | Name | Description |
---|---|---|
PointF[] | points | An array of points specifying the polygon. |
Brush | brush | The fill brush. |
FillMode | fillMode | The fill mode (alternate by default). |
RectangleF? | brushBounds | The optional bounds for a gradient brush. |
Matrix3x2? | brushTransform | The transformation applied to the brush. |
Fills a polygon specified by an array of points, using a specified color and fill mode.
public void FillPolygon(Quadrilateral quadrilateral, Color color)
Public Sub FillPolygon(quadrilateral As Quadrilateral, color As Color)
Type | Name | Description |
---|---|---|
Quadrilateral | quadrilateral | A quadrilateral specifying the polygon. |
Color | color | The fill color. |
Fills a polygon specified by an array of points, using a specified brush and fill mode.
public void FillPolygon(Quadrilateral quadrilateral, Brush brush, RectangleF? brushBounds = null, Matrix3x2? brushTransform = null)
Public Sub FillPolygon(quadrilateral As Quadrilateral, brush As Brush, Optional brushBounds As RectangleF? = Nothing, Optional brushTransform As Matrix3x2? = Nothing)
Type | Name | Description |
---|---|---|
Quadrilateral | quadrilateral | A quadrilateral specifying the polygon. |
Brush | brush | The fill brush. |
RectangleF? | brushBounds | The optional bounds for a gradient brush. |
Matrix3x2? | brushTransform | The transformation applied to the brush. |