Class ManipulateShapeCommand
Undoable shape manipulation action.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class ManipulateShapeCommand : GraphCommandBase, ICommand
Constructors
ManipulateShapeCommand(String, IShape, Point, Size, Double)
Initializes a new instance of the ManipulateShapeCommand class.
Declaration
public ManipulateShapeCommand(string name, IShape shape, Point oldPosition, Size oldSize, double oldAngle)
Parameters
System.String
name
The name. |
IShape
shape
The shape. |
System.Windows.Point
oldPosition
The old position. |
System.Windows.Size
oldSize
The old size. |
System.Double
oldAngle
The old angle. |
Methods
Execute(Object)
Executes the specified state.
Declaration
public override void Execute(object state = null)
Parameters
System.Object
state
|
Overrides
Redo()
Undo(Object)
Undoes this instance.
Declaration
public override void Undo(object state = null)
Parameters
System.Object
state
|