Class: QgsLabelingResults¶
-
class
qgis.core.
QgsLabelingResults
¶ Bases:
sip.wrapper
Class that stores computed placement from labeling engine.
New in version 2.4: Enums
Methods
Returns infos about labels at a given (map) position
Returns infos about labels within a given (map) rectangle
Sets the map
settings
associated with the labeling run.Signals
Attributes
-
labelsAtPosition
(self, p: QgsPointXY) → List[QgsLabelPosition]¶ Returns infos about labels at a given (map) position
-
labelsWithinRect
(self, r: QgsRectangle) → List[QgsLabelPosition]¶ Returns infos about labels within a given (map) rectangle
-
setMapSettings
(self, settings: QgsMapSettings)¶ Sets the map
settings
associated with the labeling run.New in version 3.4.8.
-