mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
SIP bindings for point rubberband.
This commit is contained in:
parent
91d8aaf368
commit
98571194f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user