namespace Terminal.Gui; /// /// Describes how to render a single row/column of a based on the value(s) in /// at that location /// public class GraphCellToRender { /// Creates instance and sets with default graph coloring /// public GraphCellToRender (Rune rune) { Rune = rune; } /// Creates instance and sets with custom graph coloring /// /// public GraphCellToRender (Rune rune, Attribute color) : this (rune) { Color = color; } /// Creates instance and sets and (or default if null) public GraphCellToRender (Rune rune, Attribute? color) : this (rune) { Color = color; } /// Optional color to render the with public Attribute? Color { get; set; } /// The character to render in the console public Rune Rune { get; set; } }