
wx.lib.floatcanvas.FCObjects.Bitmap¶Draws a bitmap
The size is fixed, and does not scale with the drawing.
Class Hierarchy¶
Inheritance diagram for class Bitmap:

Known Superclasses¶wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.TextObjectMixin
Methods Summary¶Default class constructor. |
Class API¶Bitmap(TextObjectMixin, DrawObject)¶Draws a bitmap
The size is fixed, and does not scale with the drawing.
__init__(self, Bitmap, XY, Position='tl', InForeground=False)¶Default class constructor.
Bitmap (wx.Bitmap) – the bitmap to be drawn
XY – the (x, y) coordinate of the corner of the bitmap, or a 2-tuple, or a (2,) NumPy array
Position (string) –
a two character string indicating where in relation to the coordinates the bitmap should be oriented
1st character |
Meaning |
|---|---|
|
top |
|
center |
|
bottom |
2nd character |
Meaning |
|---|---|
|
left |
|
center |
|
right |
InForeground (boolean) – should object be in foreground