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.- format(self) → QgsTextFormat¶
Returns the entity’s text format.
- Return type
- type(self) → QgsStyle.StyleEntity¶
- Return type