| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class Mask |
|
object--+ |Object--+ | Mask
This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white. When associated with a bitmap and drawn in a device context, the unmasked area of the bitmap will be drawn, and the masked area will not be drawn.
A mask may be associated with a wx.Bitmap. It is used in
wx.DC.DrawBitmap or wx.DC.Blit when the source device context is a
wx.MemoryDC with a wx.Bitmap selected into it that contains a
mask.
| Method Summary | |
|---|---|
| Mask |
Constructs a mask from a wx.Bitmap and a wx.Colour in that bitmap
that indicates the transparent portions of the mask. |
__repr__(self)
| |
| Inherited from Object | |
Deletes the C++ object this Python object is a proxy for. | |
| String |
Returns the class name of the C++ class using wxRTTI. |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Method Details |
|---|
__init__(self,
bitmap,
colour=NullColour)
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 17:00:58 2007 | http://epydoc.sf.net |