Exemple #1
0
        private void DrawSquare(int size)
        {
            var foxDraw = new FoxDraw(canvas);

            foxDraw.StrokeColor(Colors.Red);
            foxDraw.DrawRectangle(150 - (size / 2), 150 - (size / 2), size, size);
        }
 public static void PositionSquare(FoxDraw foxDraw, int x)
 {
     {
         foxDraw.StrokeColor(Colors.LightSeaGreen);
         for (int i = 1; i < 4; i++)
         {
             foxDraw.DrawRectangle(255, 165, x, x);
         }
     }
 }