@@ -223,7 +223,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
223
223
void setMode ( Mode mode ) { mMode = mode; }
224
224
225
225
/* *
226
- * Get if we want to classify symmetric around a given value
226
+ * Returns if we want to classify symmetric around a given value
227
227
* \since QGIS 3.4
228
228
*/
229
229
bool useSymmetricMode () const { return mUseSymmetricMode ; }
@@ -235,7 +235,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
235
235
void setUseSymmetricMode ( bool useSymmetricMode ) { mUseSymmetricMode = useSymmetricMode; }
236
236
237
237
/* *
238
- * Get the pivot value for symmetric classification
238
+ * Returns the pivot value for symmetric classification
239
239
* \since QGIS 3.4
240
240
*/
241
241
double symmetryPoint () const { return mSymmetryPoint ; }
@@ -247,7 +247,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
247
247
void setSymmetryPoint ( double symmetryPoint ) { mSymmetryPoint = symmetryPoint; }
248
248
249
249
/* *
250
- * Get mListForCboPrettyBreaks, which is needed to recover this list in saved configuration, or when property window in closed and reopened
250
+ * Returns the list of breaks used in the prettybreaks mode. Needed to recover this list in saved configuration, or when property window in closed and reopened
251
251
* \since QGIS 3.4
252
252
*/
253
253
QStringList listForCboPrettyBreaks () const { return mListForCboPrettyBreaks ; }
@@ -259,7 +259,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
259
259
void setListForCboPrettyBreaks ( QStringList listForCboPrettyBreaks ) { mListForCboPrettyBreaks = listForCboPrettyBreaks; }
260
260
261
261
/* *
262
- * Get if we want to have a central class astride the pivot value
262
+ * Returns if we want to have a central class astride the pivot value
263
263
* \since QGIS 3.4
264
264
*/
265
265
bool astride () const { return mAstride ; }
@@ -275,11 +275,10 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
275
275
* \param vlayer The layer being rendered (from which data values are calculated)
276
276
* \param mode The calculation mode
277
277
* \param nclasses The number of classes to calculate (approximate for some modes)
278
- * \since QGIS 2.6
279
278
* \param useSymmetricMode A bool indicating if we want to have classes and hence colors ramp symmetric around a value
280
279
* \param symmetryPoint The value around which the classes will be symmetric if useSymmetricMode is checked
281
280
* \param astride A bool indicating if the symmetry is made astride the symmetryPoint or not ( [-1,1] vs. [-1,0][0,1] )
282
- * \since QGIS 3.4
281
+ * \since QGIS 2.6 (three first arguments) and 3.4 (three last arguments)
283
282
*/
284
283
void updateClasses ( QgsVectorLayer *vlayer, Mode mode, int nclasses, bool useSymmetricMode = false , double symmetryPoint = 0.0 , bool astride = false );
285
284
0 commit comments