.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.mixins.rubberband
.. highlight:: python
.. _wx.lib.mixins.rubberband.RubberBand:
==========================================================================================================================================
|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
=================================
.. raw:: html

Inheritance diagram for class
RubberBand:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.mixins.rubberband.RubberBand.__init__` Initialize self. See help(type(self)) for accurate signature.
:meth:`~wx.lib.mixins.rubberband.RubberBand.getCurrentExtent` Return (x0, y0, x1, y1) or None if
:meth:`~wx.lib.mixins.rubberband.RubberBand.reset` Clear the existing rubberband
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.lib.mixins.rubberband.RubberBand.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.
.. method:: __init__(self, drawingSurface, aspectRatio=None)
Initialize self. See help(type(self)) for accurate signature.
.. method:: getCurrentExtent(self)
Return (x0, y0, x1, y1) or None if
no drawing has yet been done.
.. method:: reset(self, aspectRatio=None)
Clear the existing rubberband
.. attribute:: enabled
True if I am responding to mouse events