Exemplo n.º 1
0
 public override void Draw()
 {
     if (BarDirection == Direction.Horizontal || BarDirection == Direction.Both)
     {
         Horizontal.Draw();
     }
     if (BarDirection == Direction.Vertical || BarDirection == Direction.Both)
     {
         Vertical.Draw();
     }
 }
Exemplo n.º 2
0
        public override void Draw(SKCanvas canvas, SKSize dimension, SKSize view)
        {
            Wait();

            Horizontal.Position = Padding.BottomPosition(dimension.Height);
            Vertical.Position   = Padding.LeftPosition(dimension.Width);
            Horizontal.Draw(canvas, dimension, view);
            Vertical.Draw(canvas, dimension, view);

            Release();
        }