QGIS API Documentation
2.8.2-Wien
|
#include <qgsvectorcolorrampv2.h>
Public Member Functions | |
QgsVectorColorBrewerColorRampV2 (QString schemeName=DEFAULT_COLORBREWER_SCHEMENAME, int colors=DEFAULT_COLORBREWER_COLORS) | |
virtual QgsVectorColorRampV2 * | clone () const override |
virtual QColor | color (double value) const override |
int | colors () const |
virtual int | count () const override |
virtual QgsStringMap | properties () const override |
QString | schemeName () const |
void | setColors (int colors) |
void | setSchemeName (QString schemeName) |
virtual QString | type () const override |
virtual double | value (int index) const override |
Public Member Functions inherited from QgsVectorColorRampV2 | |
virtual | ~QgsVectorColorRampV2 () |
Static Public Member Functions | |
static QgsVectorColorRampV2 * | create (const QgsStringMap &properties=QgsStringMap()) |
static QStringList | listSchemeNames () |
static QList< int > | listSchemeVariants (QString schemeName) |
Protected Member Functions | |
void | loadPalette () |
Protected Attributes | |
int | mColors |
QList< QColor > | mPalette |
QString | mSchemeName |
Definition at line 202 of file qgsvectorcolorrampv2.h.
QgsVectorColorBrewerColorRampV2::QgsVectorColorBrewerColorRampV2 | ( | QString | schemeName = DEFAULT_COLORBREWER_SCHEMENAME , |
int | colors = DEFAULT_COLORBREWER_COLORS |
||
) |
Definition at line 453 of file qgsvectorcolorrampv2.cpp.
|
overridevirtual |
Implements QgsVectorColorRampV2.
Definition at line 504 of file qgsvectorcolorrampv2.cpp.
|
overridevirtual |
Implements QgsVectorColorRampV2.
Definition at line 493 of file qgsvectorcolorrampv2.cpp.
|
inline |
Definition at line 222 of file qgsvectorcolorrampv2.h.
|
inlineoverridevirtual |
Implements QgsVectorColorRampV2.
Definition at line 221 of file qgsvectorcolorrampv2.h.
|
static |
Definition at line 459 of file qgsvectorcolorrampv2.cpp.
|
static |
Definition at line 477 of file qgsvectorcolorrampv2.cpp.
|
static |
Definition at line 482 of file qgsvectorcolorrampv2.cpp.
|
protected |
Definition at line 472 of file qgsvectorcolorrampv2.cpp.
|
overridevirtual |
Implements QgsVectorColorRampV2.
Definition at line 509 of file qgsvectorcolorrampv2.cpp.
|
inline |
Definition at line 220 of file qgsvectorcolorrampv2.h.
|
inline |
Definition at line 225 of file qgsvectorcolorrampv2.h.
|
inline |
Definition at line 224 of file qgsvectorcolorrampv2.h.
|
inlineoverridevirtual |
Implements QgsVectorColorRampV2.
Definition at line 214 of file qgsvectorcolorrampv2.h.
|
overridevirtual |
Implements QgsVectorColorRampV2.
Definition at line 487 of file qgsvectorcolorrampv2.cpp.
|
protected |
Definition at line 235 of file qgsvectorcolorrampv2.h.
|
protected |
Definition at line 236 of file qgsvectorcolorrampv2.h.
|
protected |
Definition at line 234 of file qgsvectorcolorrampv2.h.