public override void Draw() { if (BarDirection == Direction.Horizontal || BarDirection == Direction.Both) { Horizontal.Draw(); } if (BarDirection == Direction.Vertical || BarDirection == Direction.Both) { Vertical.Draw(); } }
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(); }