Class: QgsLabelingResults

class qgis.core.QgsLabelingResults

Bases: sip.wrapper

Class that stores computed placement from labeling engine.

New in version 2.4: Methods

labelsAtPosition Returns infos about labels at a given (map) position
labelsWithinRect Returns infos about labels within a given (map) rectangle

Signals

Attributes

labelsAtPosition(self, p: QgsPointXY) → object

Returns infos about labels at a given (map) position

labelsWithinRect(self, r: QgsRectangle) → List[QgsLabelPosition]

Returns infos about labels within a given (map) rectangle