Class: QgsAnnotationItemEditOperationTransientResults¶
Encapsulates the transient results of an in-progress annotation edit operation.
Added in version 3.22.
Methods
Returns the geometry (in layer CRS) which represents the shape of the item if the operation were to be applied. |
- class qgis.core.QgsAnnotationItemEditOperationTransientResults[source]¶
Bases:
object
- __init__(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.- Parameters:
representativeGeometry (QgsGeometry)
- __init__(a0: QgsAnnotationItemEditOperationTransientResults)
- Parameters:
- representativeGeometry(self) QgsGeometry [source]¶
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: