QGIS API Documentation
3.0.2-Girona (307d082)
|
#include "qgis_core.h"
#include <QColor>
#include <QGradient>
#include "qgis.h"
#include "qgscolorscheme.h"
Go to the source code of this file.
Classes | |
class | QgsColorBrewerColorRamp |
Color ramp utilising "Color Brewer" preset color schemes. More... | |
class | QgsColorRamp |
Abstract base class for color ramps. More... | |
class | QgsCptCityColorRamp |
class | QgsGradientColorRamp |
Gradient color ramp, which smoothly interpolates between two colors and also supports optional extra color stops. More... | |
class | QgsGradientStop |
Represents a color stop within a QgsGradientColorRamp color ramp. More... | |
class | QgsLimitedRandomColorRamp |
Constrained random color ramp, which returns random colors based on preset parameters. More... | |
class | QgsPresetSchemeColorRamp |
A scheme based color ramp consisting of a list of predefined colors. More... | |
class | QgsRandomColorRamp |
Totally random color ramp. 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< QgsGradientStop > | QgsGradientStopsList |
List of gradient stops. More... | |
#define DEFAULT_COLORBREWER_COLORS 5 |
Definition at line 528 of file qgscolorramp.h.
#define DEFAULT_COLORBREWER_SCHEMENAME "Spectral" |
Definition at line 527 of file qgscolorramp.h.
#define DEFAULT_CPTCITY_SCHEMENAME "cb/div/BrBG_" |
Definition at line 620 of file qgscolorramp.h.
#define DEFAULT_CPTCITY_VARIANTNAME "05" |
Definition at line 621 of file qgscolorramp.h.
#define DEFAULT_GRADIENT_COLOR1 QColor(0,0,255) |
Definition at line 129 of file qgscolorramp.h.
#define DEFAULT_GRADIENT_COLOR2 QColor(0,255,0) |
Definition at line 130 of file qgscolorramp.h.
#define DEFAULT_RANDOM_COUNT 10 |
Definition at line 269 of file qgscolorramp.h.
#define DEFAULT_RANDOM_HUE_MAX 359 |
Definition at line 271 of file qgscolorramp.h.
#define DEFAULT_RANDOM_HUE_MIN 0 |
Definition at line 270 of file qgscolorramp.h.
#define DEFAULT_RANDOM_SAT_MAX 240 |
Definition at line 275 of file qgscolorramp.h.
#define DEFAULT_RANDOM_SAT_MIN 100 |
Definition at line 274 of file qgscolorramp.h.
#define DEFAULT_RANDOM_VAL_MAX 240 |
Definition at line 273 of file qgscolorramp.h.
#define DEFAULT_RANDOM_VAL_MIN 200 |
Definition at line 272 of file qgscolorramp.h.
typedef QList<QgsGradientStop> QgsGradientStopsList |
List of gradient stops.
Definition at line 127 of file qgscolorramp.h.