Class: QgsMaskMarkerSymbolLayer¶
Special symbol layer that uses its sub symbol as a selective mask
Added in version 3.12.
Class Hierarchy¶
Base classes¶
Abstract base class for marker symbol layers.  | 
|
Constructor for QgsSymbolLayer.  | 
Methods
Remove masks defined by this symbol layer.  | 
|
Whether some masked symbol layers are defined  | 
|
Returns a list of references to symbol layers that are masked by the sub symbol's shape.  | 
|
Sets the symbol layers that will be masked by the sub symbol's shape.  | 
Static Methods
Create a new QgsMaskMarkerSymbolLayer  | 
- class qgis.core.QgsMaskMarkerSymbolLayer[source]¶
 Bases:
QgsMarkerSymbolLayer- __init__()
 Simple constructor
- clearMasks(self)[source]¶
 Remove masks defined by this symbol layer.
See also
Added in version 3.42.
- static create(properties: Dict[str, Any] = {}) QgsSymbolLayer | None[source]¶
 Create a new QgsMaskMarkerSymbolLayer
- Parameters:
 properties (Dict[str, Any] = {}) – A property map to deserialize saved information from
properties()- Return type:
 Optional[QgsSymbolLayer]
- Returns:
 A new QgsMaskMarkerSymbolLayer
- masks(self) List[QgsSymbolLayerReference]¶
 Returns a list of references to symbol layers that are masked by the sub symbol’s shape.
- Return type:
 List[QgsSymbolLayerReference]
- Returns:
 a list of references to masked symbol layers
See also
- setMasks(self, maskedLayers: Iterable[QgsSymbolLayerReference])[source]¶
 Sets the symbol layers that will be masked by the sub symbol’s shape.
- Parameters:
 maskedLayers (Iterable[QgsSymbolLayerReference]) – list of references to symbol layers
See also