Class: QgsSymbolLayerReference

class qgis.core.QgsSymbolLayerReference

Bases: sip.wrapper

Type used to refer to a specific symbol layer in a symbol of a layer.

New in version 3.12.

QgsSymbolLayerReference() Default constructor

QgsSymbolLayerReference(layerId: str, symbolLayer: QgsSymbolLayerId) Constructor

QgsSymbolLayerReference(QgsSymbolLayerReference)

Methods

layerId

The referenced vector layer / feature renderer

symbolLayerId

The symbol layer’s id

layerId(self)str

The referenced vector layer / feature renderer

Return type

str

symbolLayerId(self)QgsSymbolLayerId

The symbol layer’s id

Return type

QgsSymbolLayerId