Class: QgsRenderedItemDetails¶
- class qgis.core.QgsRenderedItemDetails¶
Bases:
sip.wrapper
Base class for detailed information about a rendered item.
New in version 3.22.
QgsRenderedItemDetails(layerId: str) Constructor for QgsRenderedItemDetails.
QgsRenderedItemDetails(
QgsRenderedItemDetails
)Methods
Returns the bounding box of the item (in map units).
Returns the layer ID of the associated map layer.
Sets the bounding box of the item (in map units).
- boundingBox(self) QgsRectangle ¶
Returns the bounding box of the item (in map units).
See also
- Return type
- layerId(self) str ¶
Returns the layer ID of the associated map layer.
- Return type
str
- setBoundingBox(self, bounds: QgsRectangle)¶
Sets the bounding box of the item (in map units).
See also
- Parameters
bounds (QgsRectangle) –