Cell.cs 444 B

1234567891011121314151617181920
  1. using System.Text;
  2. namespace Terminal.Gui;
  3. /// <summary>
  4. /// Represents a single row/column within the <see cref="LineCanvas"/>. Includes the glyph and the foreground/background colors.
  5. /// </summary>
  6. public class Cell {
  7. /// <summary>
  8. /// The glyph to draw.
  9. /// </summary>
  10. public Rune? Rune { get; set; }
  11. /// <summary>
  12. /// The foreground color to draw the glyph with.
  13. /// </summary>
  14. public Attribute? Attribute { get; set; }
  15. }