protected override void RenderOverride(ConsoleBuffer buffer) { base.RenderOverride(buffer); ConsoleColor color = EffectiveColor, background = EffectiveBackground; for (int i = 0; i < _lines.Length - 1; i++) { string line = _lines[i]; buffer.FillBackgroundRectangle(0, i, line.Length, 1, BackgroundGradient?.GetColor(i) ?? background); buffer.DrawString(0, i, ColorGradient?.GetColor(i) ?? color, line); } }