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 Qgis::SymbolLayerFlags flags()
const override;
294 QString layerType()
const override;
298 QVariantMap properties()
const override;
300 QColor color()
const override;
305 bool canCauseArtifactsBetweenAdjacentTiles()
const override;
312 Q_DECL_DEPRECATED
void setExpressionsStringForWidth(
const QString &start,
const QString &end )
SIP_DEPRECATED;
319 Q_DECL_DEPRECATED QString startValueExpressionForWidth()
const SIP_DEPRECATED;
326 Q_DECL_DEPRECATED QString endValueExpressionForWidth()
const SIP_DEPRECATED;
361 Q_DECL_DEPRECATED
void setExpressionsStringForColor(
const QString &start,
const QString &end )
SIP_DEPRECATED;
368 Q_DECL_DEPRECATED QString startValueExpressionForColor()
const SIP_DEPRECATED;
375 Q_DECL_DEPRECATED QString endValueExpressionForColor()
const SIP_DEPRECATED;
398 QVector< QPolygonF > mLineParts;
399 bool mRenderingFeature =
false;
401 void render(
const QVector< QPolygonF > &parts,
QgsRenderContext &context );
403 QVariant colorRampShaderProperties()
const;
404 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.