
Public Member Functions | |
| bool | Create (Bitmap bitmap) |
| bool | Create (Bitmap bitmap, int paletteIndex) |
| bool | Create (Bitmap bitmap, Colour colour) |
| Mask (IntPtr wxObject) | |
| Mask (Bitmap bitmap) | |
| Mask (Bitmap bitmap, int paletteIndex) | |
| Mask (Bitmap bitmap, Colour colour) | |
| Mask () | |
A mask may be associated with a wx.Bitmap. It is used in wx.DC.Blit when the source device context is a wx.MemoryDC with wx.Bitmap selected into it that contains a mask.
| wx.Mask.Mask | ( | ) |
Default constructor.
Constructs a mask from a bitmap and a colour that indicates the background.
| bitmap | The bitmap that this ctor will create a mask for. | |
| colour | The colour that indicates the background of the bitmap. |
| wx.Mask.Mask | ( | Bitmap | bitmap, | |
| int | paletteIndex | |||
| ) |
Constructs a mask from a bitmap and a colour that indicates the background.
| bitmap | The bitmap that this ctor will create a mask for. | |
| paletteIndex | The colour that indicates the background of the bitmap specified as an index in the palette used by the bitmap. |
| wx.Mask.Mask | ( | Bitmap | bitmap | ) |
Constructs the mask from a monochrome bitmap.
| bitmap | A bitmap that shall be monochrome. |
| wx.Mask.Mask | ( | IntPtr | wxObject | ) |
| bool wx.Mask.Create | ( | Bitmap | bitmap | ) |
Creates a mask from a bitmap and a colour that indicates the background.
| bitmap | The bitmap that this ctor will create a mask for. | |
| colour | The colour that indicates the background of the bitmap. |
| bool wx.Mask.Create | ( | Bitmap | bitmap, | |
| int | paletteIndex | |||
| ) |
Creates a mask from a bitmap and a colour that indicates the background.
| bitmap | The bitmap that this ctor will create a mask for. | |
| paletteIndex | The colour that indicates the background of the bitmap specified as an index in the palette used by the bitmap. |