示例#1
0
 public void DrawRectangle(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Black);
     foxDraw.FillColor(Colors.Transparent);
     foxDraw.DrawRectangle(0.25 * foxDraw.Canvas.Width, 0.25 * foxDraw.Canvas.Height, 0.25 * foxDraw.Canvas.Width, 0.25 * foxDraw.Canvas.Height, 15);
 }
        public void DrawRectangle(FoxDraw foxDraw)
        {
            Square square = new Square();

            square.DrawRectangle(foxDraw);
        }