|
| QgsPresetSchemeColorRamp (const QgsNamedColorList &colors) |
| Constructor for QgsPresetColorRamp. More...
|
|
| QgsPresetSchemeColorRamp (const QList< QColor > &colors=QList< QColor >()) |
| Constructor for QgsPresetSchemeColorRamp. More...
|
|
QgsPresetSchemeColorRamp * | clone () const override |
| Creates a clone of the color ramp. More...
|
|
QColor | color (double value) const override |
| Returns the color corresponding to a specified value. More...
|
|
QList< QColor > | colors () const |
| Returns the list of colors used by the ramp. More...
|
|
int | count () const override |
| Returns number of defined colors, or -1 if undefined. More...
|
|
QgsNamedColorList | fetchColors (const QString &context=QString(), const QColor &baseColor=QColor()) override |
| Gets a list of colors from the scheme. More...
|
|
void | invert () override |
| Inverts the ordering of the color ramp. More...
|
|
bool | isEditable () const override |
| Returns whether the color scheme is editable. More...
|
|
QVariantMap | properties () const override |
| Returns a string map containing all the color ramp's properties. More...
|
|
QString | schemeName () const override |
| Gets the name for the color scheme. More...
|
|
bool | setColors (const QgsNamedColorList &colors, const QString &=QString(), const QColor &=QColor()) override |
| Sets the list of colors used by the ramp. More...
|
|
QString | type () const override |
| Returns a string representing the color ramp type. More...
|
|
double | value (int index) const override |
| Returns relative value between [0,1] of color at specified index. More...
|
|
virtual | ~QgsColorRamp () |
|
virtual QgsColorRamp * | clone () const =0 |
| Creates a clone of the color ramp. More...
|
|
virtual QColor | color (double value) const =0 |
| Returns the color corresponding to a specified value. More...
|
|
virtual int | count () const =0 |
| Returns number of defined colors, or -1 if undefined. More...
|
|
virtual void | invert () |
| Inverts the ordering of the color ramp. More...
|
|
virtual QVariantMap | properties () const =0 |
| Returns a string map containing all the color ramp's properties. More...
|
|
virtual QString | type () const =0 |
| Returns a string representing the color ramp type. More...
|
|
virtual double | value (int index) const =0 |
| Returns relative value between [0,1] of color at specified index. More...
|
|
| QgsColorScheme ()=default |
| Constructor for QgsColorScheme. More...
|
|
virtual | ~QgsColorScheme ()=default |
|
virtual QgsColorScheme * | clone () const =0 |
| Clones a color scheme. More...
|
|
virtual QgsNamedColorList | fetchColors (const QString &context=QString(), const QColor &baseColor=QColor())=0 |
| Gets a list of colors from the scheme. More...
|
|
virtual SchemeFlags | flags () const |
| Returns the current flags for the color scheme. More...
|
|
virtual bool | isEditable () const |
| Returns whether the color scheme is editable. More...
|
|
virtual QString | schemeName () const =0 |
| Gets the name for the color scheme. More...
|
|
virtual bool | setColors (const QgsNamedColorList &colors, const QString &context=QString(), const QColor &baseColor=QColor()) |
| Sets the colors for the scheme. More...
|
|