Fills a polygon defined by an array of Point structures.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public void FillPolygon(
	Color color,
	Point[] points
)
Visual Basic
Public Sub FillPolygon ( _
	color As Color, _
	points As Point() _
)

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.

Remarks

All coordinates are expressed in points, measured from the upper-left corner of the page.

See Also