Class: QgsMaskPaintDevice¶
Mask painter device that can be used to register everything painted into a QPainterPath used later as clip path
Deprecated since version 3.38: Use QgsGeometryPaintDevice instead.
Class Hierarchy¶
Base classes¶
Methods
Returns the mask painter path painted on this paint device  | 
- class qgis.core.QgsMaskPaintDevice[source]¶
 Bases:
QPaintDevice- __init__(usePathStroker: bool = False)
 ! Constructor If
usePathStrokerisTrue, path will be considered with a stroke regarding QPainter pen configurationDeprecated since version 3.38: Use
QgsGeometryPaintDeviceinstead.- Parameters:
 usePathStroker (bool = False)
- maskPainterPath(self) QPainterPath[source]¶
 Returns the mask painter path painted on this paint device
Deprecated since version 3.40: Use
QgsGeometryPaintDeviceinstead.- Return type:
 QPainterPath