Class: QgsVectorLayerUndoCommandAddFeature¶
Undo command for adding a feature to a vector layer.
Class Hierarchy¶
Base classes¶
Base class for undo commands within a |
|
- class qgis.core.QgsVectorLayerUndoCommandAddFeature[source]¶
Bases:
QgsVectorLayerUndoCommand
- __init__(buffer: QgsVectorLayerEditBuffer | None, f: QgsFeature)
Constructor for QgsVectorLayerUndoCommandAddFeature
- Parameters:
buffer (Optional[QgsVectorLayerEditBuffer]) – associated edit buffer
f (QgsFeature) – feature to add to layer