Class: QgsStyleSymbolEntity

class qgis.core.QgsStyleSymbolEntity(symbol: QgsSymbol)

Bases: qgis._core.QgsStyleEntityInterface

Constructor for QgsStyleSymbolEntity, with the specified symbol.

Ownership of symbol is NOT transferred.

QgsStyleSymbolEntity(QgsStyleSymbolEntity)

A symbol entity for QgsStyle databases.

New in version 3.10: Enums

Methods

symbol

Returns the entity’s symbol.

type

Signals

Attributes

symbol(self) → QgsSymbol

Returns the entity’s symbol.

type(self) → QgsStyle.StyleEntity