PyLOGBRUSH Object

Dict representing a LOGBRUSH struct as used with win32gui::CreateBrushIndirect and win32gui::ExtCreatePen

Win32 API References

Search for LOGBRUSH at msdn, google or google groups.

Properties

int Style
Brush style, one of win32con.BS_* values

int Color
RGB color value. Can also be DIB_PAL_COLORS or DIB_RGB_COLORS if Style is BS_DIBPATTERN or BS_DIBPATTERNPT=

int/PyHANDLE Hatch
For BS_HATCH style, one of win32con.HS_*. Not used For BS_SOLID or BS_HOLLOW. For a pattern brush, this should be a handle to a bitmap