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

boundingBox

Returns the bounding box of the item (in map units).

layerId

Returns the layer ID of the associated map layer.

setBoundingBox

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

setBoundingBox()

Return type:

QgsRectangle

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

boundingBox()

Parameters:

bounds (QgsRectangle) –