public override void ArrangeTick(TickText tickText, Size arrangeSize, LinearTextBar textBar)
        {
            switch (textBar.Placement)
            {
            case TickBarPlacement.Left:
                Left.ArrangeTick(tickText, arrangeSize, textBar);
                break;

            case TickBarPlacement.Top:
                Top.ArrangeTick(tickText, arrangeSize, textBar);
                break;

            case TickBarPlacement.Right:
                Right.ArrangeTick(tickText, arrangeSize, textBar);
                break;

            case TickBarPlacement.Bottom:
                Bottom.ArrangeTick(tickText, arrangeSize, textBar);
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }
        }
Example #2
0
 public abstract void ArrangeTick(TickText tickText, Size arrangeSize, LinearTextBar textBar);