示例#1
0
 public static void DrawWhiteSquares(FoxDraw foxDraw, double wx, double wy, double wz)
 {
     foxDraw.FillColor(Colors.Red);
     foxDraw.DrawRectangle(wx, wy, wz, wz);
 }
示例#2
0
 public static void DrawBlackSquares(FoxDraw foxDraw, double bx, double by, double bz)
 {
     foxDraw.FillColor(Colors.Blue);
     foxDraw.DrawRectangle(bx, by, bz, bz);
 }
 public MainWindow()
 {
     InitializeComponent();
     var foxDraw = new FoxDraw(canvas);
     // Fill the canvas with a checkerboard pattern
 }