QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsRenderedItemDetails Class Reference

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

#include <qgsrendereditemdetails.h>

Inheritance diagram for QgsRenderedItemDetails:
Inheritance graph
[legend]

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 36 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 66 of file qgsrendereditemdetails.h.

◆ layerId()

QString QgsRenderedItemDetails::layerId ( ) const
inline

Returns the layer ID of the associated map layer.

Definition at line 59 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 73 of file qgsrendereditemdetails.h.


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