예제 #1
0
 // For changing the current state of the diagram.
 public MoveShapeCommand(Shape _shape, double _offsetX, double _offsetY)
 {
     shape = _shape;
     offsetX = _offsetX;
     offsetY = _offsetY;
 }
예제 #2
0
 // For changing the current state of the diagram.
 public AddShapeCommand(ObservableCollection<Shape> _shapes, Shape _shape)
 {
     shapes = _shapes;
     shape = _shape;
 }