public static void DrawSideThree(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Purple);
     foxDraw.DrawLine(10, 10, 10, foxDraw.Canvas.Height - 10);
 }
 public static void DrawSideFour(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Blue);
     foxDraw.DrawLine(10, foxDraw.Canvas.Height - 10, foxDraw.Canvas.Width - 10, foxDraw.Canvas.Height - 10);
 }
 public static void DrawSideOne(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Green);
     foxDraw.DrawLine(10, 10, foxDraw.Canvas.Width - 10, 10);
 }
 public static void DrawSideTwo(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Red);
     foxDraw.DrawLine(foxDraw.Canvas.Width - 10, 10, foxDraw.Canvas.Width - 10, foxDraw.Canvas.Height - 10);
 }
Exemplo n.º 5
0
 public static void DrawRightVerticalLine(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Green);
     foxDraw.DrawLine(0, 401, 401, 401);
 }
Exemplo n.º 6
0
 public static void DrawBottomHorizontalLine(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.CadetBlue);
     foxDraw.DrawLine(401, 0, 401, 401);
 }
Exemplo n.º 7
0
 public static void DrawLeftVerticalLine(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Yellow);
     foxDraw.DrawLine(0, 0, 0, 401);
 }
Exemplo n.º 8
0
 public static void DrawTopHorizontalLine(FoxDraw foxDraw)
 {
     foxDraw.StrokeColor(Colors.Red);
     foxDraw.DrawLine(0, 0, 401, 0);
 }
Exemplo n.º 9
0
 public MainWindow()
 {
     InitializeComponent();
     var foxDraw = new FoxDraw(canvas);
     // Draw a box that has different colored lines on each edge
 }