Skip to content
Permalink
Browse files

Added setFillColor and setBorderColor for rubber band to the python API

  • Loading branch information
timlinux committed Oct 27, 2014
1 parent 0fa4ce3 commit 84c429dc73f414ca7d6246beaceb2748480bced4
Showing with 17 additions and 1 deletion.
  1. +14 −0 python/gui/qgsrubberband.sip
  2. +3 −1 src/gui/qgsrubberband.h
@@ -57,6 +57,20 @@ class QgsRubberBand: QgsMapCanvasItem
*/
void setColor( const QColor & color );

/**
* Set the fill color for the rubberband
* @param color The color used to render this rubberband
* @note Added in 2.6
*/
void setFillColor( const QColor & color );

/**
* Set the border color for the rubberband
* @param color The color used to render this rubberband
* @note Added in 2.6
*/
void setBorderColor( const QColor & color );

/**
* Set the width of the line. Outline width for polygon.
* @param width The width for any lines painted for this rubberband
@@ -86,14 +86,16 @@ class GUI_EXPORT QgsRubberBand: public QgsMapCanvasItem
void setColor( const QColor & color );

/**
* Set the file color for the rubberband
* Set the fill color for the rubberband
* @param color The color used to render this rubberband
* @note Added in 2.6
*/
void setFillColor( const QColor & color );

/**
* Set the border color for the rubberband
* @param color The color used to render this rubberband
* @note Added in 2.6
*/
void setBorderColor( const QColor & color );

0 comments on commit 84c429d

Please sign in to comment.
You can’t perform that action at this time.