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