Draws a polygon defined by an array of point structures.
Syntax
'Declaration
Public Sub DrawPolygon( _
ByVal As System.Drawing.Pen, _
ByVal () As System.Drawing.PointF _
)
public void DrawPolygon(
System.Drawing.Pen ,
System.Drawing.PointF[]
)
Parameters
- pen
- System.Drawing.Pen object that determines the color, width, and style of the polygon.
- points
- Array of point structures that represent the vertices of the polygon.
See Also