Class: QgsVectorTileLabeling¶
- class qgis.core.QgsVectorTileLabeling¶
Bases:
sip.wrapper
Base class for labeling configuration classes for vector tile layers.
New in version 3.14:
Methods
Returns a new copy of the object
Reads labeling properties from given XML element
Resolves references to other objects - second phase of loading - after
readXml()
Unique type string of the labeling configuration implementation
Writes labeling properties to given XML element
- clone(self) QgsVectorTileLabeling ¶
Returns a new copy of the object
- Return type:
- readXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
Reads labeling properties from given XML element
- Parameters:
elem (QDomElement) –
context (QgsReadWriteContext) –
- resolveReferences(self, project: QgsProject)¶
Resolves references to other objects - second phase of loading - after
readXml()
- Parameters:
project (QgsProject) –
- type(self) str ¶
Unique type string of the labeling configuration implementation
- Return type:
str
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
Writes labeling properties to given XML element
- Parameters:
elem (QDomElement) –
context (QgsReadWriteContext) –