A group of other FloatCanvas Objects
Not all DrawObject methods may apply here.
Note that if an object is in more than one group, it will get drawn more than once.
wx.lib.floatcanvas.FCObjects.DrawObject
Default class constructor. |
|
Add an object to the group. |
|
Add objects to the group. |
|
Bind an event to the Group object |
|
Calculate the bounding box. |
|
Moves the object by delta, where delta is a (dx, dy) pair. |
|
Set the Color |
|
Set the FillColor |
|
Set the FillStyle |
|
Set the LineColor |
|
Set the LineStyle |
|
Set the LineWidth |
A group of other FloatCanvas Objects
Not all DrawObject methods may apply here.
Note that if an object is in more than one group, it will get drawn more than once.
Default class constructor.
ObjectList (list) – a list of DrawObject
to be grouped
InForeground (boolean) – keep in foreground
IsVisible (boolean) – keep it visible
Add an object to the group.
obj (DrawObject) – object to add
Add objects to the group.
Objects (list) – a list of DrawObject
to be grouped
Bind an event to the Group object
Event – see below for supported event types
EVT_FC_LEFT_DOWN
EVT_FC_LEFT_UP
EVT_FC_LEFT_DCLICK
EVT_FC_MIDDLE_DOWN
EVT_FC_MIDDLE_UP
EVT_FC_MIDDLE_DCLICK
EVT_FC_RIGHT_DOWN
EVT_FC_RIGHT_UP
EVT_FC_RIGHT_DCLICK
EVT_FC_ENTER_OBJECT
EVT_FC_LEAVE_OBJECT
CallBackFun – the call back function for the event
Calculate the bounding box.
Moves the object by delta, where delta is a (dx, dy) pair.
Delta – is a (dx, dy) pair ideally a NumPy array of shape (2, )
Set the Color
Color – see SetColor
for valid values
Set the FillColor
FillColor – see SetColor
for valid values
Set the FillStyle
FillStyle – see SetFillStyle
for valid values
Set the LineColor
LineColor – see SetColor
for valid values
Set the LineStyle
LineStyle – see SetLineStyle
for valid values
Set the LineWidth
LineWidth (integer) – line width in pixels