QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | Public Attributes | List of all members
QgsDataDefinedSizeLegend::SizeClass Struct Reference

Definition of one class for the legend. More...

#include <qgsdatadefinedsizelegend.h>

Public Member Functions

 SizeClass (double size, const QString &label)
 

Public Attributes

QString label
 Label to be shown with the particular symbol size. More...
 
double size
 Marker size in units used by the symbol (usually millimeters). May be further scaled before rendering if size scale transformer is enabled. More...
 

Detailed Description

Definition of one class for the legend.

Definition at line 72 of file qgsdatadefinedsizelegend.h.

Constructor & Destructor Documentation

◆ SizeClass()

QgsDataDefinedSizeLegend::SizeClass::SizeClass ( double  size,
const QString &  label 
)
inline

Definition at line 74 of file qgsdatadefinedsizelegend.h.

Member Data Documentation

◆ label

QString QgsDataDefinedSizeLegend::SizeClass::label

Label to be shown with the particular symbol size.

Definition at line 80 of file qgsdatadefinedsizelegend.h.

◆ size

double QgsDataDefinedSizeLegend::SizeClass::size

Marker size in units used by the symbol (usually millimeters). May be further scaled before rendering if size scale transformer is enabled.

Definition at line 77 of file qgsdatadefinedsizelegend.h.


The documentation for this struct was generated from the following file: