16#ifndef QGSLABELOBSTACLESETTINGS_H
17#define QGSLABELOBSTACLESETTINGS_H
68 mIsObstacle = isObstacle;
81 return mObstacleFactor;
94 mObstacleFactor = factor;
105 return mObstacleType;
116 mObstacleType = type;
127 void setObstacleGeometry(
const QgsGeometry &obstacleGeom );
143 bool mIsObstacle =
true;
144 double mObstacleFactor = 1.0;
145 ObstacleType mObstacleType = ObstacleType::PolygonBoundary;
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
A geometry is the spatial representation of a feature.
Contains settings related to how the label engine treats features as obstacles.
double factor() const
Returns the obstacle factor, where 1.0 = default, < 1.0 more likely to be covered by labels,...
void setType(ObstacleType type)
Controls how features act as obstacles for labels.
ObstacleType type() const
Returns how features act as obstacles for labels.
ObstacleType
Valid obstacle types, which affect how features within the layer will act as obstacles for labels.
void setIsObstacle(bool isObstacle)
Sets whether features are obstacles to labels of other layers.
void setFactor(double factor)
Sets the obstacle factor, where 1.0 = default, < 1.0 more likely to be covered by labels,...
bool isObstacle() const
Returns true if the features are obstacles to labels of other layers.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
#define SIP_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)