Class: QgsLayoutEffect

class qgis.core.QgsLayoutEffect

Bases: PyQt5.QtWidgets.QGraphicsEffect

Constructor for QgsLayoutEffect.

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

New in version 3.0: Enums

Methods

childEvent
compositionMode Returns the composition (blending) mode used for rendering the item.
connectNotify
customEvent
disconnectNotify
draw
drawSource
isSignalConnected
receivers
sender
senderSignalIndex
setCompositionMode Sets the composition (blending) mode used for rendering the item.
sourceBoundingRect
sourceChanged
sourceIsPixmap
sourcePixmap
timerEvent
updateBoundingRect

Signals

Attributes

childEvent()
compositionMode(self) → QPainter.CompositionMode

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

connectNotify()
customEvent()
disconnectNotify()
draw(self, painter: QPainter)
drawSource()
isSignalConnected()
receivers()
sender()
senderSignalIndex()
setCompositionMode(self, mode: QPainter.CompositionMode)

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

sourceBoundingRect()
sourceChanged()
sourceIsPixmap()
sourcePixmap()
timerEvent()
updateBoundingRect()