[]
Fills a polygon defined by an array of point structures using the specified fill mode.
public void FillPolygon(Color color, Point[] points, FillMode fillMode = 0)
Public Sub FillPolygon(color As Color, points As Point(), Optional fillMode As FillMode = 0)
| Type | Name | Description |
|---|---|---|
| Color | color | The color used to fill the polygon. |
| Point[] | points | Array of point structures that represent the vertices of the polygon. |
| FillMode | fillMode | GrapeCity.Documents.Drawing.FillMode parameter that determines how to handle overlapping areas within the polygon. |
All coordinates are expressed in points, measured from the upper-left corner of the page.
Fills a polygon defined by an array of point structures using the specified fill mode.
public void FillPolygon(Brush brush, Point[] points, FillMode fillMode = 0)
Public Sub FillPolygon(brush As Brush, points As Point(), Optional fillMode As FillMode = 0)
| Type | Name | Description |
|---|---|---|
| Brush | brush | The object that determines the color used to fill the polygon. |
| Point[] | points | Array of point structures that represent the vertices of the polygon. |
| FillMode | fillMode | GrapeCity.Documents.Drawing.FillMode parameter that determines how to handle overlapping areas within the polygon. |
All coordinates are expressed in points, measured from the upper-left corner of the page.