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