62 void setColor(
const QColor &color );
65 QColor color(
double magnitude )
const;
71 void setColoringMethod( ColoringMethod coloringMethod );
83 QColor singleColor()
const;
99 void graduatedColors(
double value1,
double value2, QList<double> &breakValues, QList<QColor> &breakColors, QList<QLinearGradient> &gradients )
const;
103 QColor mSingleColor = Qt::black;
107 QLinearGradient makeSimpleLinearGradient(
const QColor &color1,
const QColor &color2 )
const;
110 int itemColorIndexInf(
double value )
const;
112 void graduatedColorsExact(
double value1,
double value2, QList<double> &breakValues, QList<QColor> &breakColors,
const QList<QLinearGradient> &gradients )
const;
113 void graduatedColorsInterpolated(
double value1,
double value2, QList<double> &breakValues, QList<QColor> &breakColors, QList<QLinearGradient> &gradients )
const;
114 void graduatedColorsDiscrete(
double value1,
double value2, QList<double> &breakValues, QList<QColor> &breakColors, QList<QLinearGradient> &gradients )
const;
293 QString layerType()
const override;
297 QVariantMap properties()
const override;
299 QColor color()
const override;
304 bool canCauseArtifactsBetweenAdjacentTiles()
const override;
311 Q_DECL_DEPRECATED
void setExpressionsStringForWidth(
const QString &start,
const QString &end )
SIP_DEPRECATED;
318 Q_DECL_DEPRECATED QString startValueExpressionForWidth()
const SIP_DEPRECATED;
325 Q_DECL_DEPRECATED QString endValueExpressionForWidth()
const SIP_DEPRECATED;
362 Q_DECL_DEPRECATED
void setExpressionsStringForColor(
const QString &start,
const QString &end )
SIP_DEPRECATED;
369 Q_DECL_DEPRECATED QString startValueExpressionForColor()
const SIP_DEPRECATED;
376 Q_DECL_DEPRECATED QString endValueExpressionForColor()
const SIP_DEPRECATED;
399 QVector< QPolygonF > mLineParts;
400 bool mRenderingFeature =
false;
402 void render(
const QVector< QPolygonF > &parts,
QgsRenderContext &context );
404 QVariant colorRampShaderProperties()
const;
405 static QgsColorRampShader createColorRampShaderFromProperties(
const QVariant &properties );
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.