Method CreatePolygon
| Edit this page View SourceCreatePolygon(IEnumerable<Point>)
Creates a polygonal region using alternate mode (fills area between odd-numbered and even-numbered polygon sides on each scan line).
Declaration
public static Region CreatePolygon(IEnumerable<Point> points)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Point> | points | The vertices of the polygon in device independent units. The polygon is presumed closed. Each vertex can be specified only once. |
Returns
| Type | Description |
|---|---|
| Region |