Class: QgsEffectPainter

class qgis.core.QgsEffectPainter(renderContext: QgsRenderContext)

Bases: sip.wrapper

QgsEffectPainter constructor

Parameters:renderContext – the QgsRenderContext object

New in version 3.0.

QgsEffectPainter(renderContext: QgsRenderContext, effect: QgsPaintEffect) QgsEffectPainter constructor alternative if no painter translation is needed

Parameters:
  • renderContext – the QgsRenderContext object
  • effect – the QgsPaintEffect object

New in version 3.0.

QgsEffectPainter(QgsEffectPainter)

A class to manager painter saving and restoring required for effect drawing

New in version 3.0: Methods

setEffect Sets the effect to be painted

Signals

Attributes

setEffect(self, effect: QgsPaintEffect)

Sets the effect to be painted

Parameters:effect – the QgsPaintEffect object