Draws a polygon.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void DrawPolygon(
	PdfPen pen,
	PdfBrush brush,
	PointF[] points
)
Public Sub DrawPolygon ( 
	pen As PdfPen,
	brush As PdfBrush,
	points As PointF()
)
public:
void DrawPolygon(
	PdfPen^ pen, 
	PdfBrush^ brush, 
	array<PointF>^ points
)
member DrawPolygon : 
        pen : PdfPen * 
        brush : PdfBrush * 
        points : PointF[] -> unit 

Parameters

pen
PdfPen
The pen.
brush
PdfBrush
The brush.
points
array<PointF>[]()[][]
The points.

See Also