QGIS API Documentation
2.10.1-Pisa
|
#include <qgsvectorcolorrampv2.h>
Public Member Functions | |
virtual | ~QgsVectorColorRampV2 () |
virtual QgsVectorColorRampV2 * | clone () const =0 |
virtual QColor | color (double value) const =0 |
virtual int | count () const =0 |
Returns number of defined colors, or -1 if undefined. More... | |
virtual QgsStringMap | properties () const =0 |
virtual QString | type () const =0 |
virtual double | value (int index) const =0 |
Returns relative value between [0,1] of color at specified index. More... | |
Definition at line 25 of file qgsvectorcolorrampv2.h.
|
inlinevirtual |
Definition at line 29 of file qgsvectorcolorrampv2.h.
|
pure virtual |
|
pure virtual |
Implemented in QgsVectorColorBrewerColorRampV2, QgsRandomColorsV2, QgsVectorRandomColorRampV2, and QgsVectorGradientColorRampV2.
|
pure virtual |
Returns number of defined colors, or -1 if undefined.
Implemented in QgsVectorColorBrewerColorRampV2, QgsRandomColorsV2, QgsVectorRandomColorRampV2, and QgsVectorGradientColorRampV2.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns relative value between [0,1] of color at specified index.
Implemented in QgsVectorColorBrewerColorRampV2, QgsRandomColorsV2, QgsVectorRandomColorRampV2, and QgsVectorGradientColorRampV2.