dojox
»
sketch
» UndoStack
dojox.sketch.UndoStack
dojo.require("dojox.sketch.UndoStack");
defined in dojox/sketch/UndoStack.js
Usage
function (figure)
(view source)
this
.
figure
=figure;
this
._steps=
[
]
;
this
._undoedSteps=
[
]
;
parameter
type
description
figure
Functions
Back to top
Only private and/or inherited functions are available.
add
(cmd
:
String
, ann, before
:
String
?
)
apply
(state, from, to)
destroy
()
redo
()
undo
()
Properties
Back to top
Only private and/or inherited properties are available.
figure
_steps
_undoedSteps