Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32gui
>
CreatePen
win32gui
.CreatePen
PyGdiHANDLE
=
CreatePen(
PenStyle
, Width
, Color
)
Create a GDI pen
Parameters
PenStyle
: int
One of win32con.PS_* pen styles
Width
: int
Drawing width in logical units. Use zero for single pixel.
Color
: int
RGB color value. See
win32api::RGB
.