QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | List of all members
QgsStyleLegendPatchShapeEntity Class Reference

A legend patch shape entity for QgsStyle databases. More...

#include <qgsstyle.h>

Inheritance diagram for QgsStyleLegendPatchShapeEntity:
Inheritance graph
[legend]

Public Member Functions

 QgsStyleLegendPatchShapeEntity (const QgsLegendPatchShape &shape)
 Constructor for QgsStyleLegendPatchShapeEntity, with the specified legend patch shape. More...
 
const QgsLegendPatchShapeshape () const
 Returns the entity's legend patch shape. More...
 
QgsStyle::StyleEntity type () const override
 Returns the type of style entity. More...
 
- Public Member Functions inherited from QgsStyleEntityInterface
virtual ~QgsStyleEntityInterface ()=default
 
virtual QgsStyle::StyleEntity type () const =0
 Returns the type of style entity. More...
 

Detailed Description

A legend patch shape entity for QgsStyle databases.

Since
QGIS 3.14

Definition at line 1463 of file qgsstyle.h.

Constructor & Destructor Documentation

◆ QgsStyleLegendPatchShapeEntity()

QgsStyleLegendPatchShapeEntity::QgsStyleLegendPatchShapeEntity ( const QgsLegendPatchShape shape)
inline

Constructor for QgsStyleLegendPatchShapeEntity, with the specified legend patch shape.

Definition at line 1470 of file qgsstyle.h.

Member Function Documentation

◆ shape()

const QgsLegendPatchShape & QgsStyleLegendPatchShapeEntity::shape ( ) const
inline

Returns the entity's legend patch shape.

Definition at line 1480 of file qgsstyle.h.

◆ type()

QgsStyle::StyleEntity QgsStyleLegendPatchShapeEntity::type ( ) const
overridevirtual

Returns the type of style entity.

Implements QgsStyleEntityInterface.

Definition at line 3425 of file qgsstyle.cpp.


The documentation for this class was generated from the following files: