1

I need to work with live layer effect (blur, outer glow, shadow) etc . I know how to use this with the help of QGIS symbol tool. But i need to integrate this in to my python automated map generation process. I am searching code for this but unable to find out. If anyone knows it then please let me know

1

You want QgsPaintEffect. It's the base class from which all the live layer effects inherit:

https://qgis.org/api/classQgsPaintEffect.html

QgsSymbolLayerV2.setPaintEffect() is probably what you need:

https://qgis.org/api/classQgsSymbolLayerV2.html#a5d4f3921ee369094736f17ec44361620

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.