QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
Loading...
Searching...
No Matches
QgsRenderedItemDetails Class Reference

Base class for detailed information about a rendered item. More...

#include <qgsrendereditemdetails.h>

Inheritance diagram for QgsRenderedItemDetails:

Public Member Functions

 QgsRenderedItemDetails (const QString &layerId)
 Constructor for QgsRenderedItemDetails.
virtual ~QgsRenderedItemDetails ()
QgsRectangle boundingBox () const
 Returns the bounding box of the item (in map units).
QString layerId () const
 Returns the layer ID of the associated map layer.
void setBoundingBox (const QgsRectangle &bounds)
 Sets the bounding box of the item (in map units).

Detailed Description

Base class for detailed information about a rendered item.

Since
QGIS 3.22

Definition at line 38 of file qgsrendereditemdetails.h.

Constructor & Destructor Documentation

◆ QgsRenderedItemDetails()

QgsRenderedItemDetails::QgsRenderedItemDetails ( const QString & layerId)

Constructor for QgsRenderedItemDetails.

Definition at line 19 of file qgsrendereditemdetails.cpp.

◆ ~QgsRenderedItemDetails()

QgsRenderedItemDetails::~QgsRenderedItemDetails ( )
virtualdefault

Member Function Documentation

◆ boundingBox()

QgsRectangle QgsRenderedItemDetails::boundingBox ( ) const
inline

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

See also
setBoundingBox()

Definition at line 67 of file qgsrendereditemdetails.h.

◆ layerId()

QString QgsRenderedItemDetails::layerId ( ) const
inline

Returns the layer ID of the associated map layer.

Definition at line 60 of file qgsrendereditemdetails.h.

◆ setBoundingBox()

void QgsRenderedItemDetails::setBoundingBox ( const QgsRectangle & bounds)
inline

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

See also
boundingBox()

Definition at line 74 of file qgsrendereditemdetails.h.


The documentation for this class was generated from the following files: