[Qgis-developer] QgsRubberband and transparency

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


 Hi,

 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 
 transparency.

 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

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


More information about the Qgis-developer mailing list