public MainWindow()
 {
     InitializeComponent();
     var foxDraw = new FoxDraw(canvas);
     // Draw a green 10x10 square to the canvas' center
 }
Beispiel #2
0
 public static void SquareAtCenter(FoxDraw foxDraw)
 {
     foxDraw.DrawRectangle(295, 295, 10, 10);
 }
Beispiel #3
0
 static void DrawSquareToCenter(FoxDraw foxDraw)
 {
     foxDraw.DrawRectangle(230, 140, 10, 10);
 }