Class: QgsStyleLegendPatchShapeEntity¶
- class qgis.core.QgsStyleLegendPatchShapeEntity(shape: QgsLegendPatchShape)¶
Bases:
QgsStyleEntityInterface
Constructor for
QgsStyleLegendPatchShapeEntity
, with the specified legend patchshape
.QgsStyleLegendPatchShapeEntity(
QgsStyleLegendPatchShapeEntity
)A legend patch shape entity for
QgsStyle
databases.- shape(self) → QgsLegendPatchShape¶
Returns the entity’s legend patch shape.
- Return type
- type(self) → QgsStyle.StyleEntity¶
- Return type