Class: QgsPlotRectangularRubberBand

QgsPlotRectangularRubberBand is rectangular rubber band for use within QgsPlotCanvas widgets.

Added in version 3.26.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsPlotRectangularRubberBand

Base classes

QgsPlotRubberBand

QgsPlotRubberBand is an abstract base class for temporary rubber band items in various shapes, for use within QgsPlotCanvas widgets.

QObject

class qgis.gui.QgsPlotRectangularRubberBand[source]

Bases: QgsPlotRubberBand

__init__(canvas: QgsPlotCanvas | None = None)

Constructor for QgsPlotRectangularRubberBand.

Parameters:

canvas (Optional[QgsPlotCanvas] = None)