Skip to content
Permalink
Browse files

Merge pull request #1663 from timlinux/papercuts

Add missing sip bindings for fill and border colours of rubber band.
  • Loading branch information
timlinux committed Oct 27, 2014
2 parents 83d070e + 531474d commit c21edd06651893ad9564bb9c6d453b7d63b5a6e5
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 c21edd0

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