Fills a polygon defined by an array of Point structures using the specified fill mode.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void FillPolygon( Color color, Point[] points, FillRule fillRule ) |
Visual Basic |
---|
Public Sub FillPolygon ( _ color As Color, _ points As Point(), _ fillRule As FillRule _ ) |
Parameters
- color
- Type: System.Windows.Media..::..Color
Color object that determines the color used to fill the polygon.
- points
- Type: array<System.Windows..::..Point>[]()[][]
Array of Point structures that represent the vertices of the polygon.
- fillRule
- Type: System.Windows.Media..::..FillRule
FillRule parameter that determines how to handle overlapping areas within the polygon.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.