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


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


QgsSymbolLayerV2.setPaintEffect() is probably what you need:



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.