[]
Create a polygons region from the point array which defines the vertices of the polygon.
public static Region CreatePolygonRegion(Point[] polygonPoints)
Type | Name | Description |
---|---|---|
Point[] | polygonPoints | A Point array that defines the vertices of the polygon. |
Type | Description |
---|---|
Region |
This method creates a new Region object with a polygon interior interior.
The interior is defined by the polygonPoints
parameter.
Create a polygons region from the point array which defines the vertices of the polygon.
public static Region CreatePolygonRegion(Point[] polygonPoints, PolyFillMode polyFillMode)
Type | Name | Description |
---|---|---|
Point[] | polygonPoints | A Point array that defines the vertices of the polygon. |
PolyFillMode | polyFillMode | PolyFillMode Indicates the poly fill mode is "alternate" or "winding" |
Type | Description |
---|---|
Region |
This method creates a new Region object with a polygon interior interior.
The interior is defined by the polygonPoints
parameter.