Class: QgsLabelingResults

class qgis.core.QgsLabelingResults

Bases: sip.wrapper

Class that stores computed placement from labeling engine.

New in version 2.4: Enums

Methods

labelsAtPosition

Returns infos about labels at a given (map) position

labelsWithinRect

Returns infos about labels within a given (map) rectangle

setMapSettings

Sets the map settings associated with the labeling run.

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

setMapSettings(self, settings: QgsMapSettings)

Sets the map settings associated with the labeling run.

New in version 3.4.8.