Class: QgsRenderedItemDetails¶
Base class for detailed information about a rendered item.
Added in version 3.22.
Class Hierarchy¶
Subclasses¶
Contains information about a rendered annotation item. |
|
Contains computed statistics for a layer render. |
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). |
- class qgis.core.QgsRenderedItemDetails[source]¶
Bases:
object
- __init__(layerId: str | None)
Constructor for QgsRenderedItemDetails.
- Parameters:
layerId (Optional[str])
- __init__(a0: QgsRenderedItemDetails)
- Parameters:
- boundingBox(self) QgsRectangle [source]¶
Returns the bounding box of the item (in map units).
See also
- Return type:
- setBoundingBox(self, bounds: QgsRectangle)[source]¶
Sets the bounding box of the item (in map units).
See also
- Parameters:
bounds (QgsRectangle)