Class: QgsStyleTextFormatEntity

class qgis.core.QgsStyleTextFormatEntity(format: QgsTextFormat)

Bases: qgis._core.QgsStyleEntityInterface

Constructor for QgsStyleTextFormatEntity, with the specified text format.

QgsStyleTextFormatEntity(QgsStyleTextFormatEntity)

A text format entity for QgsStyle databases.

New in version 3.10: Enums

Methods

format

Returns the entity’s text format.

type

Signals

Attributes

format(self) → QgsTextFormat

Returns the entity’s text format.

type(self) → QgsStyle.StyleEntity