Table Of Contents

Previous topic

rubberband

Next topic

treemixin

This Page

phoenix_title RubberBand

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class RubberBand

Inheritance diagram of 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