QGIS API Documentation  3.23.0-Master (dd0cd13a00)
Public Member Functions | List of all members
QgsAnnotationItemEditOperationTransientResults Class Reference

Encapsulates the transient results of an in-progress annotation edit operation. More...

#include <qgsannotationitemeditoperation.h>

Public Member Functions

 QgsAnnotationItemEditOperationTransientResults (const QgsGeometry &representativeGeometry)
 Constructor for QgsAnnotationItemEditOperationTransientResults. More...
 
QgsGeometry representativeGeometry () const
 Returns the geometry (in layer CRS) which represents the shape of the item if the operation were to be applied. More...
 

Detailed Description

Encapsulates the transient results of an in-progress annotation edit operation.

Since
QGIS 3.22

Definition at line 226 of file qgsannotationitemeditoperation.h.

Constructor & Destructor Documentation

◆ QgsAnnotationItemEditOperationTransientResults()

QgsAnnotationItemEditOperationTransientResults::QgsAnnotationItemEditOperationTransientResults ( const QgsGeometry representativeGeometry)
inline

Constructor for QgsAnnotationItemEditOperationTransientResults.

The representativeGeometry parameter specifies a geometry (in layer CRS) which represents the shape of the item if the operation were to be applied. It is used for creating a graphical representation of the operation during interactive edits.

Definition at line 237 of file qgsannotationitemeditoperation.h.

Member Function Documentation

◆ representativeGeometry()

QgsGeometry QgsAnnotationItemEditOperationTransientResults::representativeGeometry ( ) const
inline

Returns the geometry (in layer CRS) which represents the shape of the item if the operation were to be applied.

This is used for creating a graphical representation of the operation during interactive edits.

Definition at line 246 of file qgsannotationitemeditoperation.h.


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