We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91d8aaf commit 9857119Copy full SHA for 9857119
python/gui/qgsrubberband.sip
@@ -5,13 +5,15 @@ class QgsRubberBand: QgsMapCanvasItem
5
%End
6
7
public:
8
- QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, bool isPolygon = false );
+ QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line );
9
+ QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, bool isPolygon );
10
~QgsRubberBand();
11
12
void setColor( const QColor & color );
13
void setWidth( int width );
14
- void reset( bool isPolygon = false );
15
+ void reset( QGis::GeometryType geometryType = QGis::Line );
16
+ void reset( bool isPolygon );
17
18
//! Add point to rubberband and update canvas
19
//! If adding more points consider using update=false for better performance
0 commit comments