#include <qgsvectorcolorrampv2.h>
Constructor & Destructor Documentation
Member Function Documentation
void QgsVectorGradientColorRampV2::addStopsToGradient |
( |
QGradient * |
gradient, |
|
|
double |
alpha = 1 |
|
) |
| |
copy color ramp stops to a QGradient
- Note
- added in 2.1
QColor QgsVectorGradientColorRampV2::color |
( |
double |
value | ) |
const |
|
virtual |
QColor QgsVectorGradientColorRampV2::color1 |
( |
| ) |
const |
|
inline |
QColor QgsVectorGradientColorRampV2::color2 |
( |
| ) |
const |
|
inline |
void QgsVectorGradientColorRampV2::convertToDiscrete |
( |
bool |
discrete | ) |
|
virtual int QgsVectorGradientColorRampV2::count |
( |
| ) |
const |
|
inlinevirtual |
bool QgsVectorGradientColorRampV2::isDiscrete |
( |
| ) |
const |
|
inline |
QgsStringMap QgsVectorGradientColorRampV2::properties |
( |
| ) |
const |
|
virtual |
void QgsVectorGradientColorRampV2::setColor1 |
( |
QColor |
color | ) |
|
|
inline |
void QgsVectorGradientColorRampV2::setColor2 |
( |
QColor |
color | ) |
|
|
inline |
void QgsVectorGradientColorRampV2::setDiscrete |
( |
bool |
discrete | ) |
|
|
inline |
void QgsVectorGradientColorRampV2::setInfo |
( |
const QgsStringMap & |
info | ) |
|
|
inline |
virtual QString QgsVectorGradientColorRampV2::type |
( |
| ) |
const |
|
inlinevirtual |
double QgsVectorGradientColorRampV2::value |
( |
int |
index | ) |
const |
|
virtual |
Member Data Documentation
QColor QgsVectorGradientColorRampV2::mColor1 |
|
protected |
QColor QgsVectorGradientColorRampV2::mColor2 |
|
protected |
bool QgsVectorGradientColorRampV2::mDiscrete |
|
protected |
The documentation for this class was generated from the following files: