Class: QgsStyleTextFormatEntity

A text format entity for QgsStyle databases.

Added in version 3.10.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsStyleTextFormatEntity

Base classes

QgsStyleEntityInterface

An interface for entities which can be placed in a QgsStyle database.

Methods

format

Returns the entity's text format.

class qgis.core.QgsStyleTextFormatEntity[source]

Bases: QgsStyleEntityInterface

__init__(format: QgsTextFormat)

Constructor for QgsStyleTextFormatEntity, with the specified text format.

Parameters:

format (QgsTextFormat)

__init__(a0: QgsStyleTextFormatEntity)
Parameters:

a0 (QgsStyleTextFormatEntity)

format(self) QgsTextFormat[source]

Returns the entity’s text format.

Return type:

QgsTextFormat