Draws a polygon defined by an array of Point structures.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
| C# |
|---|
public void DrawPolygon( Pen pen, Point[] points ) |
| Visual Basic |
|---|
Public Sub DrawPolygon ( _ pen As Pen, _ points As Point() _ ) |
Parameters
- pen
- Type: C1.Silverlight.Pdf..::..Pen
Pen object that determines the color, width, and style of the polygon.
- points
- Type: array<System.Windows..::..Point>[]()[][]
Array of Point structures that represent the vertices of the polygon.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.