예제 #1
0
 public override void AddShape(Rect rec)
 {
     ShapeFactory.AddShape(rec, ShapeTypes.Rectangle);
 }
예제 #2
0
 public override void AddShape(Rect rec)
 {
     ShapeFactory.AddShape(rec, ShapeTypes.Ellipse);
 }
예제 #3
0
 public override void OnExecute(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
 {
     ShapeFactory.AddShape(new Rect(new Point(10, 10), new Size(200, 55)), ShapeTypes.ClassShape);
 }