Table of Contents

Delegate CliOverlayRenderer

Namespace
ItTiger.TigerCli.Primitives
Assembly
ItTiger.TigerCli.dll
A delegate that produces the renderable content for a CliOverlay.
public delegate (bool visible, char[] content) CliOverlayRenderer(CliGrid grid, int renderLength)

Parameters

grid CliGrid
The fully measured grid.
renderLength int
The number of screen cells occupied by the overlay: the sum of the measured widths (horizontal) or heights (vertical) of the LogicalLength covered grid cells. Equal to LogicalLength only when every covered cell measures one screen cell.

Returns

(bool visible, char[] content)
visible: when false the overlay is skipped and underlying content is preserved. content: characters to write; content.Length must be <= renderLength when visible is true. Every character is written with the overlay's uniform Style.