Table of Contents

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

character char
fg ConsoleColor
bg ConsoleColor

Properties

Background

Background console colour.
public ConsoleColor Background { get; init; }

Property Value

ConsoleColor

Character

Rendered character.
public char Character { get; init; }

Property Value

char

Foreground

Foreground console colour.
public ConsoleColor Foreground { get; init; }

Property Value

ConsoleColor