Table of Contents

Struct CliOverlayGlyph

Namespace
ItTiger.TigerCli.Primitives
Assembly
ItTiger.TigerCli.dll
A single character emitted by a CliStyledOverlayRenderer, optionally carrying its own per-character style. When Style is null the glyph falls back to the overlay's base Style, so a styled renderer only needs to specify a style where it differs from the base.
public readonly struct CliOverlayGlyph
Inherited Members

Constructors

CliOverlayGlyph(char, CliCharStyle?)

Creates an overlay glyph with an optional per-character style.
public CliOverlayGlyph(char character, CliCharStyle? style = null)

Parameters

character char
The character to write.
style CliCharStyle?
The character style, or null to use the overlay's base style.

Properties

Char

The character to write.
public char Char { get; }

Property Value

char

Style

The per-character style, or null to use the overlay's base style.
public CliCharStyle? Style { get; }

Property Value

CliCharStyle?