Struct CliRenderCell
- Namespace
- ItTiger.TigerCli.Primitives
- Assembly
- ItTiger.TigerCli.dll
Character and console colours stored in a render buffer cell.
public readonly struct CliRenderCell
- Inherited Members
Constructors
CliRenderCell(char, ConsoleColor, ConsoleColor)
Character and console colours stored in a render buffer cell.
public CliRenderCell(char character, ConsoleColor fg, ConsoleColor bg)
Parameters
charactercharfgConsoleColorbgConsoleColor
Properties
Background
Background console colour.
public ConsoleColor Background { get; init; }
Property Value
Character
Rendered character.
public char Character { get; init; }
Property Value
Foreground
Foreground console colour.
public ConsoleColor Foreground { get; init; }