A stretchable border which is drawn on top of an image to define an area.
Initialize self. See help(type(self)) for accurate signature. |
|
Return (x0, y0, x1, y1) or None if |
|
Clear the existing rubberband |
True if I am responding to mouse events |
RubberBand
¶A stretchable border which is drawn on top of an image to define an area.
__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
enabled
¶True if I am responding to mouse events