Class: QgsAnnotationItemEditContext¶
Encapsulates the context for an annotation item edit operation.
Added in version 3.40.
List of all members, including inherited members
Methods
Returns the current rendered bounds of the item, in the annotation layer's CRS. |
|
Returns the render context associated with the edit operation. |
|
Sets the current rendered bounds of the item, in the annotation layer's CRS. |
|
Sets the render context associated with the edit operation. |
- class qgis.core.QgsAnnotationItemEditContext[source]¶
Bases:
object- currentItemBounds(self) QgsRectangle[source]¶
Returns the current rendered bounds of the item, in the annotation layer’s CRS.
See also
- Return type:
- renderContext(self) QgsRenderContext[source]¶
Returns the render context associated with the edit operation.
See also
- Return type:
- setCurrentItemBounds(self, bounds: QgsRectangle)[source]¶
Sets the current rendered
boundsof the item, in the annotation layer’s CRS.See also
- Parameters:
bounds (QgsRectangle)
- setRenderContext(self, context: QgsRenderContext)[source]¶
Sets the render
contextassociated with the edit operation.See also
- Parameters:
context (QgsRenderContext)