Class: QgsStyleTextFormatEntity¶
- class qgis.core.QgsStyleTextFormatEntity(format: QgsTextFormat)¶
Bases:
QgsStyleEntityInterface
Constructor for
QgsStyleTextFormatEntity
, with the specified textformat
.QgsStyleTextFormatEntity(
QgsStyleTextFormatEntity
)A text format entity for
QgsStyle
databases.New in version 3.10:
Methods
Returns the entity's text format.
- rtype
QgsStyle.StyleEntity
- format(self) QgsTextFormat ¶
Returns the entity’s text format.
- Return type
- type(self) QgsStyle.StyleEntity ¶
- Return type