QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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 68 of file qgsdatadefinedsizelegend.h.

Constructor & Destructor Documentation

◆ SizeClass()

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

Definition at line 70 of file qgsdatadefinedsizelegend.h.

Member Data Documentation

◆ label

QString QgsDataDefinedSizeLegend::SizeClass::label

Label to be shown with the particular symbol size.

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


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