[Qgis-developer] How to Raster layer setTransparency with pyQGis 2 ?
G. Allegri
giohappy at gmail.com
Wed Nov 6 03:18:21 PST 2013
Try using l_raster.renderer().setOpacity(0.5)
giovanni
2013/11/6 Geo DrinX <geodrinx at gmail.com>
> Hello All,
>
>
> pyQGis 2 changed many things :(
>
> For example: how is possible, now, to set the transparency of a raster ?
>
> Before, simply was:
>
> l_raster.setTransparency(50)
>
>
> And now ?
>
> Thank you for any info about it
>
>
> Roberto
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131106/f93816be/attachment-0001.html>
More information about the Qgis-developer
mailing list