public override Size Measure(ConsoleRenderer renderer, Size maxSize) { if (renderer == null) { throw new ArgumentNullException(nameof(renderer)); } if (maxSize == null) { throw new ArgumentNullException(nameof(maxSize)); } if (Span == null) { return(new Size(0, 0)); } return(ConsoleRenderer.MeasureSpan(Span, maxSize)); }