Phoenix Logo

phoenix_title wx.lib.mixins.rubberband.RubberBand

A stretchable border which is drawn on top of an image to define an area.


class_hierarchy Class Hierarchy

Inheritance diagram for class RubberBand:


method_summary Methods Summary

__init__  
getCurrentExtent Return (x0, y0, x1, y1) or None if
reset Clear the existing rubberband

property_summary Properties Summary

enabled True if I am responding to mouse events

api 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)


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