[Qgis-developer] QgsRubberband and transparency

Andreas Neumann a.neumann at carto.net
Wed Jun 20 09:46:48 PDT 2012


 Does QgsRubberband have a fixed alpha value for the fill?

 Changing the alpha value with QgsRubberband.setColor() only seems to 
 have an effect for the stroke - the fill seems to have a fixed 

 My goal is to have no fill (fully transparent fill) and a fully opaque 
 stroke with my rubberband, as the transparent fill changes the color of 
 the underlying feature representation.

 Thanks if you have any idea.


 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)

More information about the Qgis-developer mailing list