Interface for commands that support undo operations. Commands implementing this interface must define how to revert their effects.

Hierarchy

  • IUndoableCommand

Methods

Methods

  • Reverts the changes made by this command, restoring the previous state. Should be side-effect-free beyond restoring canvas or model state.

    Parameters

    • options: PaintExecuteOptions

    Returns void