Class: QgsAnnotationItemEditOperationDeleteNode¶
Annotation item edit operation consisting of deleting a node.
Added in version 3.22.
Class Hierarchy¶
Base classes¶
Abstract base class for annotation item edit operations. |
Methods
Returns the node position before the delete occurred (in layer coordinates). |
|
Returns the deleted node ID. |
- class qgis.core.QgsAnnotationItemEditOperationDeleteNode[source]¶
Bases:
QgsAbstractAnnotationItemEditOperation
- __init__(itemId: str | None, nodeId: QgsVertexId, before: QgsPoint)
Constructor for QgsAnnotationItemEditOperationDeleteNode, where the node with the specified
id
and previous positionbefore
is deleted.- Parameters:
itemId (Optional[str])
nodeId (QgsVertexId)
before (QgsPoint)
- __init__(a0: QgsAnnotationItemEditOperationDeleteNode)
- Parameters:
- before(self) QgsPoint [source]¶
Returns the node position before the delete occurred (in layer coordinates).
- Return type:
- nodeId(self) QgsVertexId [source]¶
Returns the deleted node ID.
- Return type: