Class: QgsAnnotationItemEditOperationTransientResults¶
- class qgis.core.QgsAnnotationItemEditOperationTransientResults¶
Bases:
sip.wrapper
Encapsulates the transient results of an in-progress annotation edit operation.
New in version 3.22.
QgsAnnotationItemEditOperationTransientResults(representativeGeometry:
QgsGeometry
) 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.QgsAnnotationItemEditOperationTransientResults(
QgsAnnotationItemEditOperationTransientResults
)Methods
Returns the geometry (in layer CRS) which represents the shape of the item if the operation were to be applied.
- representativeGeometry(self) QgsGeometry ¶
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.
- Return type: