wx.lib.mixins.rubberband.RubberBand¶
A stretchable border which is drawn on top of an image to define an area.
Class Hierarchy¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Return (x0, y0, x1, y1) or None if |
|
Clear the existing rubberband |
Properties Summary¶
True if I am responding to mouse events |
Class API¶
- class RubberBand¶
A stretchable border which is drawn on top of an image to define an area.
Methods¶
- __init__(self, drawingSurface, aspectRatio=None)¶
Initialize self. See help(type(self)) for accurate signature.
- getCurrentExtent(self)¶
Return (x0, y0, x1, y1) or None if no drawing has yet been done.
- reset(self, aspectRatio=None)¶
Clear the existing rubberband
Properties¶
- enabled¶
True if I am responding to mouse events