@@ -72,10 +72,12 @@ class CORE_EXPORT QgsColorRampShader : public QgsRasterShaderFunction
7272 // ! \brief Get the color ramp type
7373 QgsColorRampShader::ColorRamp_TYPE colorRampType () const {return mColorRampType ;}
7474
75- // ! \brief Get the color ramp type as a string
75+ // \brief Get the color ramp type as a string
7676 QString colorRampTypeAsQString ();
7777
78- // ! \brief Get the original color ramp name
78+ /* * \brief Get the original color ramp name
79+ * @note added in QGIS 3.0
80+ */
7981 QString colorRampName () const {return mColorRampName ;}
8082
8183 // ! \brief Set custom colormap
@@ -84,12 +86,14 @@ class CORE_EXPORT QgsColorRampShader : public QgsRasterShaderFunction
8486 // ! \brief Set the color ramp type
8587 void setColorRampType ( QgsColorRampShader::ColorRamp_TYPE theColorRampType );
8688
87- // ! \brief Set the color ramp type
88- void setColorRampType ( const QString& theType );
89-
90- // ! \brief Set the source color ramp name
89+ /* * \brief Set the source color ramp name
90+ * @note added in QGIS 3.0
91+ */
9192 void setColorRampName ( const QString& theName );
9293
94+ // \brief Set the color ramp type
95+ void setColorRampType ( const QString& theType );
96+
9397 // ! \brief Generates and new RGB value based on one input value
9498 bool shade ( double , int *, int *, int *, int * ) override ;
9599
0 commit comments