Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32gui
>
CreatePolygonRgn
win32gui
.CreatePolygonRgn
PyGdiHANDLE
=
CreatePolygonRgn(
Points
, PolyFillMode
)
Creates a region from a sequence of vertices
Parameters
Points
: [(int,int),...]
Sequence of POINT tuples: ((x,y),...).
PolyFillMode
: int
Filling mode, one of ALTERNATE, WINDING