System.Drawing.Drawing2D.GraphicsPath.AddPolygon Method

Adds a polygon to this path.

Syntax

public void AddPolygon (System.Drawing.PointF[] points)

Parameters

points
An array of System.Drawing.PointF structures that defines the polygon to add.

Remarks

The points in the points array specify the vertices of a polygon. If the first point in the array is not the same as the last point, those two points are connected to close the polygon.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0