Class: QgsStyleSymbolEntity

class qgis.core.QgsStyleSymbolEntity(symbol: QgsSymbol)

Bases: QgsStyleEntityInterface

Constructor for QgsStyleSymbolEntity, with the specified symbol.

Ownership of symbol is NOT transferred.

QgsStyleSymbolEntity(QgsStyleSymbolEntity)

A symbol entity for QgsStyle databases.

Methods

symbol

Returns the entity’s symbol.

type

rtype

QgsStyle.StyleEntity

symbol(self)QgsSymbol

Returns the entity’s symbol.

Return type

QgsSymbol

type(self)QgsStyle.StyleEntity
Return type

QgsStyle.StyleEntity