[Qgis-user] pyqgis: setting transparent color (alpha channel) to a polygon layer

PIERRE Sylvain sylvain.pierre at cg67.fr
Wed Jul 11 08:11:12 PDT 2012


Hi,

What's the best way to set transparent color (alpha channel) to a polygon layer ?

I did some test using code like :

rendererV2.symbol().setColor(QColor(0,128,128,2)), color is ok but layer is not transparent at all...

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120711/a657beed/attachment.html>


More information about the Qgis-user mailing list