Class: QgsVectorLayerUndoCommandChangeGeometry¶
- class qgis.core.QgsVectorLayerUndoCommandChangeGeometry¶
Bases:
QgsVectorLayerUndoCommand
Undo command for modifying the geometry of a feature from a vector layer.
QgsVectorLayerUndoCommandChangeGeometry(buffer:
QgsVectorLayerEditBuffer
, fid: int, newGeom:QgsGeometry
) Constructor for QgsVectorLayerUndoCommandChangeGeometry- Parameters
- id(self) int ¶
- Return type
int
- mergeWith(self, other: QUndoCommand) bool ¶
- Parameters
other (QUndoCommand) –
- Return type
bool
- redo(self)¶
- undo(self)¶