[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.Region.CreatePolygonRegion

CreatePolygonRegion Method

CreatePolygonRegion(Point[])

Create a polygons region from the point array which defines the vertices of the polygon.

Declaration
public static Region CreatePolygonRegion(Point[] polygonPoints)
Parameters
Type Name Description
Point[] polygonPoints

A Point array that defines the vertices of the polygon.

Returns
Type Description
Region
Remarks

This method creates a new Region object with a polygon interior interior. The interior is defined by the polygonPoints parameter.

CreatePolygonRegion(Point[], PolyFillMode)

Create a polygons region from the point array which defines the vertices of the polygon.

Declaration
public static Region CreatePolygonRegion(Point[] polygonPoints, PolyFillMode polyFillMode)
Parameters
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"

Returns
Type Description
Region
Remarks

This method creates a new Region object with a polygon interior interior. The interior is defined by the polygonPoints parameter.