QGIS API Documentation  2.17.0-Master (eef6f05)
Classes | Macros | Typedefs
qgsvectorcolorrampv2.h File Reference
#include <QColor>
#include <QGradient>
#include "qgssymbollayerv2.h"
#include "qgslogger.h"
Include dependency graph for qgsvectorcolorrampv2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsCptCityColorRampV2
 
class  QgsGradientStop
 Represents a color stop within a gradient color ramp. More...
 
class  QgsRandomColorsV2
 
class  QgsVectorColorBrewerColorRampV2
 
class  QgsVectorColorRampV2
 Abstract base class for color ramps. More...
 
class  QgsVectorGradientColorRampV2
 Gradient color ramp, which smoothly interpolates between two colors and also supports optional extra color stops. More...
 
class  QgsVectorRandomColorRampV2
 Random color ramp, which returns random colors based on preset parameters. More...
 

Macros

#define DEFAULT_COLORBREWER_COLORS   5
 
#define DEFAULT_COLORBREWER_SCHEMENAME   "Spectral"
 
#define DEFAULT_CPTCITY_SCHEMENAME   "cb/div/BrBG_"
 
#define DEFAULT_CPTCITY_VARIANTNAME   "05"
 
#define DEFAULT_GRADIENT_COLOR1   QColor(0,0,255)
 
#define DEFAULT_GRADIENT_COLOR2   QColor(0,255,0)
 
#define DEFAULT_RANDOM_COUNT   10
 
#define DEFAULT_RANDOM_HUE_MAX   359
 
#define DEFAULT_RANDOM_HUE_MIN   0
 
#define DEFAULT_RANDOM_SAT_MAX   240
 
#define DEFAULT_RANDOM_SAT_MIN   100
 
#define DEFAULT_RANDOM_VAL_MAX   240
 
#define DEFAULT_RANDOM_VAL_MIN   200
 

Typedefs

typedef QList< QgsGradientStopQgsGradientStopsList
 List of gradient stops. More...
 

Macro Definition Documentation

§ DEFAULT_COLORBREWER_COLORS

#define DEFAULT_COLORBREWER_COLORS   5

Definition at line 320 of file qgsvectorcolorrampv2.h.

§ DEFAULT_COLORBREWER_SCHEMENAME

#define DEFAULT_COLORBREWER_SCHEMENAME   "Spectral"

Definition at line 319 of file qgsvectorcolorrampv2.h.

§ DEFAULT_CPTCITY_SCHEMENAME

#define DEFAULT_CPTCITY_SCHEMENAME   "cb/div/BrBG_"

Definition at line 363 of file qgsvectorcolorrampv2.h.

§ DEFAULT_CPTCITY_VARIANTNAME

#define DEFAULT_CPTCITY_VARIANTNAME   "05"

Definition at line 364 of file qgsvectorcolorrampv2.h.

§ DEFAULT_GRADIENT_COLOR1

#define DEFAULT_GRADIENT_COLOR1   QColor(0,0,255)

Definition at line 94 of file qgsvectorcolorrampv2.h.

§ DEFAULT_GRADIENT_COLOR2

#define DEFAULT_GRADIENT_COLOR2   QColor(0,255,0)

Definition at line 95 of file qgsvectorcolorrampv2.h.

§ DEFAULT_RANDOM_COUNT

#define DEFAULT_RANDOM_COUNT   10

Definition at line 217 of file qgsvectorcolorrampv2.h.

§ DEFAULT_RANDOM_HUE_MAX

#define DEFAULT_RANDOM_HUE_MAX   359

Definition at line 219 of file qgsvectorcolorrampv2.h.

§ DEFAULT_RANDOM_HUE_MIN

#define DEFAULT_RANDOM_HUE_MIN   0

Definition at line 218 of file qgsvectorcolorrampv2.h.

§ DEFAULT_RANDOM_SAT_MAX

#define DEFAULT_RANDOM_SAT_MAX   240

Definition at line 223 of file qgsvectorcolorrampv2.h.

§ DEFAULT_RANDOM_SAT_MIN

#define DEFAULT_RANDOM_SAT_MIN   100

Definition at line 222 of file qgsvectorcolorrampv2.h.

§ DEFAULT_RANDOM_VAL_MAX

#define DEFAULT_RANDOM_VAL_MAX   240

Definition at line 221 of file qgsvectorcolorrampv2.h.

§ DEFAULT_RANDOM_VAL_MIN

#define DEFAULT_RANDOM_VAL_MIN   200

Definition at line 220 of file qgsvectorcolorrampv2.h.

Typedef Documentation

§ QgsGradientStopsList

List of gradient stops.

Definition at line 92 of file qgsvectorcolorrampv2.h.