Class: QgsStyleTextFormatEntity

class qgis.core.QgsStyleTextFormatEntity(format: QgsTextFormat)

Bases: QgsStyleEntityInterface

Constructor for QgsStyleTextFormatEntity, with the specified text format.

QgsStyleTextFormatEntity(QgsStyleTextFormatEntity)

A text format entity for QgsStyle databases.

New in version 3.10.

Parameters

format

format(self) → QgsTextFormat

Returns the entity’s text format.

Return type

QgsTextFormat

type(self) → QgsStyle.StyleEntity
Return type

QgsStyle.StyleEntity