Class: QgsSymbolLayerReference

class qgis.core.QgsSymbolLayerReference

Bases: sip.wrapper

Default constructor

QgsSymbolLayerReference(layerId: str, symbolLayer: QgsSymbolLayerId) Constructor

QgsSymbolLayerReference(QgsSymbolLayerReference)

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

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