Class: QgsLayoutEffect

A QGraphicsEffect subclass used for rendering layout items onto a scene with custom composition modes.

Deprecated since version 3.34: This class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Class Hierarchy

Inheritance diagram of qgis.core.QgsLayoutEffect

Base classes

QGraphicsEffect

QObject

Methods

compositionMode

Returns the composition (blending) mode used for rendering the item.

setCompositionMode

Sets the composition (blending) mode used for rendering the item.

class qgis.core.QgsLayoutEffect[source]

Bases: QGraphicsEffect

compositionMode(self) QPainter.CompositionMode[source]

Returns the composition (blending) mode used for rendering the item.

Deprecated since version 3.34: This class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Return type:

QPainter.CompositionMode

setCompositionMode(self, mode: QPainter.CompositionMode)[source]

Sets the composition (blending) mode used for rendering the item.

Deprecated since version 3.34: This class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Parameters:

mode (QPainter.CompositionMode)