| 
    QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
    
   | 
 
Contains general settings related to how labels are placed. More...
#include <qgslabelplacementsettings.h>
Public Member Functions | |
| bool | allowDegradedPlacement () const | 
Returns true if labels can be placed in inferior fallback positions if they cannot otherwise be placed.  More... | |
| Qgis::LabelOverlapHandling | overlapHandling () const | 
| Returns the technique used to handle overlapping labels.  More... | |
| void | setAllowDegradedPlacement (bool allow) | 
| Sets whether labels can be placed in inferior fallback positions if they cannot otherwise be placed.  More... | |
| void | setOverlapHandling (Qgis::LabelOverlapHandling handling) | 
| Sets the technique used to handle overlapping labels.  More... | |
| void | updateDataDefinedProperties (const QgsPropertyCollection &properties, QgsExpressionContext &context) | 
| Updates the placement settings to respect any data defined properties set within the specified properties collection.  More... | |
Contains general settings related to how labels are placed.
Definition at line 34 of file qgslabelplacementsettings.h.
      
  | 
  inline | 
Returns true if labels can be placed in inferior fallback positions if they cannot otherwise be placed. 
For instance, this will permit a curved line label to fallback to a horizontal label at the end of the line if the label cannot otherwise be placed on the line in a curved manner.
Definition at line 59 of file qgslabelplacementsettings.h.
      
  | 
  inline | 
Returns the technique used to handle overlapping labels.
Definition at line 42 of file qgslabelplacementsettings.h.
      
  | 
  inline | 
Sets whether labels can be placed in inferior fallback positions if they cannot otherwise be placed.
For instance, this will permit a curved line label to fallback to a horizontal label at the end of the line if the label cannot otherwise be placed on the line in a curved manner.
Definition at line 70 of file qgslabelplacementsettings.h.
      
  | 
  inline | 
Sets the technique used to handle overlapping labels.
Definition at line 48 of file qgslabelplacementsettings.h.
| void QgsLabelPlacementSettings::updateDataDefinedProperties | ( | const QgsPropertyCollection & | properties, | 
| QgsExpressionContext & | context | ||
| ) | 
Updates the placement settings to respect any data defined properties set within the specified properties collection.
Definition at line 22 of file qgslabelplacementsettings.cpp.