Class: QgsStyleLegendPatchShapeEntity¶
A legend patch shape entity for QgsStyle databases.
Added in version 3.14.
Class Hierarchy¶
Base classes¶
An interface for entities which can be placed in a   | 
Methods
Returns the entity's legend patch shape.  | 
- class qgis.core.QgsStyleLegendPatchShapeEntity[source]¶
 Bases:
QgsStyleEntityInterface- __init__(shape: QgsLegendPatchShape)
 Constructor for QgsStyleLegendPatchShapeEntity, with the specified legend patch
shape.- Parameters:
 shape (QgsLegendPatchShape)
- __init__(a0: QgsStyleLegendPatchShapeEntity)
 - Parameters:
 
- shape(self) QgsLegendPatchShape¶
 Returns the entity’s legend patch shape.
- Return type: