QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
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 71 of file qgsdatadefinedsizelegend.h.

Constructor & Destructor Documentation

◆ SizeClass()

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

Definition at line 73 of file qgsdatadefinedsizelegend.h.

Member Data Documentation

◆ label

QString QgsDataDefinedSizeLegend::SizeClass::label

Label to be shown with the particular symbol size.

Definition at line 76 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 75 of file qgsdatadefinedsizelegend.h.


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