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

2012-07-11 Thread PIERRE Sylvain
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 ___ Qgis-user

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

2012-07-11 Thread Tim Sutton
Hi On Wed, Jul 11, 2012 at 5:11 PM, PIERRE Sylvain sylvain.pie...@cg67.fr wrote: 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