SIP bindings for point rubberband.

This commit is contained in:
Matthias Kuhn 2012-11-14 12:58:33 +01:00
parent 91d8aaf368
commit 98571194f0

View File

@ -5,13 +5,15 @@ class QgsRubberBand: QgsMapCanvasItem
%End
public:
QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, bool isPolygon = false );
QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line );
QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, bool isPolygon );
~QgsRubberBand();
void setColor( const QColor & color );
void setWidth( int width );
void reset( bool isPolygon = false );
void reset( QGis::GeometryType geometryType = QGis::Line );
void reset( bool isPolygon );
//! Add point to rubberband and update canvas
//! If adding more points consider using update=false for better performance