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.
Methods
Returns the composition (blending) mode used for rendering the item.
- param painter
Sets the composition (blending)
mode
used for rendering the item.-
childEvent
()¶
-
compositionMode
(self) → QPainter.CompositionMode¶ Returns the composition (blending) mode used for rendering the item.
See also
- Return type
QPainter.CompositionMode
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
draw
(self, painter: QPainter)¶ - Parameters
painter (QPainter) –
-
drawSource
()¶
-
isSignalConnected
()¶
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setCompositionMode
(self, mode: QPainter.CompositionMode)¶ Sets the composition (blending)
mode
used for rendering the item.See also
- Parameters
mode (QPainter.CompositionMode) –
-
sourceBoundingRect
()¶
-
sourceChanged
()¶
-
sourceIsPixmap
()¶
-
sourcePixmap
()¶
-
timerEvent
()¶
-
updateBoundingRect
()¶