Class TimeMachine
- Namespace
- Ink_Canvas.Helpers
- Assembly
- InkCanvasForClass.dll
- Inheritance
-
TimeMachine
- Inherited Members
-
Methods
ClearStrokeHistory()
public void ClearStrokeHistory()
CommitElementInsertHistory(UIElement)
public void CommitElementInsertHistory(UIElement element)
Parameters
element UIElement
CommitElementRemoveHistory(UIElement)
public void CommitElementRemoveHistory(UIElement element)
Parameters
element UIElement
CommitStrokeDrawingAttributesHistory(Dictionary<Stroke, Tuple<DrawingAttributes, DrawingAttributes>>)
public void CommitStrokeDrawingAttributesHistory(Dictionary<Stroke, Tuple<DrawingAttributes, DrawingAttributes>> drawingAttributes)
Parameters
drawingAttributes Dictionary<Stroke, Tuple<DrawingAttributes, DrawingAttributes>>
CommitStrokeEraseHistory(StrokeCollection, StrokeCollection)
public void CommitStrokeEraseHistory(StrokeCollection stroke, StrokeCollection sourceStroke = null)
Parameters
stroke StrokeCollection
sourceStroke StrokeCollection
CommitStrokeManipulationHistory(Dictionary<Stroke, Tuple<StylusPointCollection, StylusPointCollection>>)
public void CommitStrokeManipulationHistory(Dictionary<Stroke, Tuple<StylusPointCollection, StylusPointCollection>> stylusPointDictionary)
Parameters
stylusPointDictionary Dictionary<Stroke, Tuple<StylusPointCollection, StylusPointCollection>>
CommitStrokeShapeHistory(StrokeCollection, StrokeCollection)
public void CommitStrokeShapeHistory(StrokeCollection strokeToBeReplaced, StrokeCollection generatedStroke)
Parameters
strokeToBeReplaced StrokeCollection
generatedStroke StrokeCollection
CommitStrokeUserInputHistory(StrokeCollection)
public void CommitStrokeUserInputHistory(StrokeCollection stroke)
Parameters
stroke StrokeCollection
ExportTimeMachineHistory()
public TimeMachineHistory[] ExportTimeMachineHistory()
Returns
- TimeMachineHistory[]
ImportTimeMachineHistory(TimeMachineHistory[])
public bool ImportTimeMachineHistory(TimeMachineHistory[] sourceHistory)
Parameters
sourceHistory TimeMachineHistory[]
Returns
- bool
Redo()
public TimeMachineHistory Redo()
Returns
- TimeMachineHistory
Undo()
public TimeMachineHistory Undo()
Returns
- TimeMachineHistory
Events
OnRedoStateChanged
public event TimeMachine.OnRedoStateChange OnRedoStateChanged
Event Type
- TimeMachine.OnRedoStateChange
OnUndoStateChanged
public event TimeMachine.OnUndoStateChange OnUndoStateChanged
Event Type
- TimeMachine.OnUndoStateChange