Class: QgsStyleSymbolEntity

A symbol entity for QgsStyle databases.

Added in version 3.10.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsStyleSymbolEntity

Base classes

QgsStyleEntityInterface

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

Constructor

__init__

Methods

symbol

Returns the entity's symbol.

class qgis.core.QgsStyleSymbolEntity[source]

Bases: QgsStyleEntityInterface

__init__(symbol: QgsSymbol | None)

Constructor for QgsStyleSymbolEntity, with the specified symbol.

Ownership of symbol is NOT transferred.

Parameters:

symbol (Optional[QgsSymbol])

__init__(a0: QgsStyleSymbolEntity)
Parameters:

a0 (QgsStyleSymbolEntity)

symbol(self) QgsSymbol | None[source]

Returns the entity’s symbol.

Return type:

Optional[QgsSymbol]