QGIS API Documentation  2.99.0-Master (6a61179)
Public Member Functions | Public Attributes | List of all members
QgsColorRampShader::ColorRampItem Struct Reference

#include <qgscolorrampshader.h>

Public Member Functions

 ColorRampItem ()
 default constructor More...
 
 ColorRampItem (double val, const QColor &col, const QString &lbl=QString())
 convenience constructor More...
 
bool operator< (const ColorRampItem &other) const
 

Public Attributes

QColor color
 
QString label
 
double value
 

Detailed Description

Definition at line 56 of file qgscolorrampshader.h.

Constructor & Destructor Documentation

§ ColorRampItem() [1/2]

QgsColorRampShader::ColorRampItem::ColorRampItem ( )
inline

default constructor

Definition at line 59 of file qgscolorrampshader.h.

§ ColorRampItem() [2/2]

QgsColorRampShader::ColorRampItem::ColorRampItem ( double  val,
const QColor &  col,
const QString &  lbl = QString() 
)
inline

convenience constructor

Definition at line 61 of file qgscolorrampshader.h.

Member Function Documentation

§ operator<()

bool QgsColorRampShader::ColorRampItem::operator< ( const ColorRampItem other) const
inline

Definition at line 72 of file qgscolorrampshader.h.

Member Data Documentation

§ color

QColor QgsColorRampShader::ColorRampItem::color

Definition at line 69 of file qgscolorrampshader.h.

§ label

QString QgsColorRampShader::ColorRampItem::label

Definition at line 67 of file qgscolorrampshader.h.

§ value

double QgsColorRampShader::ColorRampItem::value

Definition at line 68 of file qgscolorrampshader.h.


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