QgsLabelingResults class

Class that stores computed placement from labeling engine.

Constructors, destructors, conversion operators

QgsLabelingResults(const QgsLabelingResults&) deleted
QgsLabelingResults cannot be copied.

Public functions

auto labelsAtPosition(const QgsPointXY& p) const -> QList<QgsLabelPosition>
Returns infos about labels at a given (map) position.
auto labelsWithinRect(const QgsRectangle& r) const -> QList<QgsLabelPosition>
Returns infos about labels within a given (map) rectangle.
auto operator=(const QgsLabelingResults& rh) -> QgsLabelingResults& deleted
QgsLabelingResults cannot be copied.