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