Table of Contents

Delegate CliStyledOverlayRenderer

Namespace
ItTiger.TigerCli.Primitives
Assembly
ItTiger.TigerCli.dll
A delegate that produces styled per-character content for a CliOverlay. This is the richer counterpart to CliOverlayRenderer: it lets a single overlay emit characters with different styles (for example a two- or three-colour progress bar) while still owning no placement or measurement. A glyph whose Style is null uses the overlay's base Style.
public delegate (bool visible, CliOverlayGlyph[] content) CliStyledOverlayRenderer(CliGrid grid, int renderLength)

Parameters

grid CliGrid
The fully measured grid.
renderLength int
The number of screen cells occupied by the overlay (measured, like CliOverlayRenderer's — not the grid-cell LogicalLength).

Returns

(bool visible, CliOverlayGlyph[] content)
visible: when false the overlay is skipped and underlying content is preserved. content: glyphs to write; content.Length must be <= renderLength when visible is true.