Skip to main content

Arlecchino.Rendering

Classes

TypeSummary
PaneFlowA flow cursor inside one region: it writes the next line and remembers where the one after it goes, clipped to the region. csharp var flow = region.Flow(); flow.AppendLine("PLAYERS", Theme.TableHeader); foreach (var player in players) { flow.AppendLine(player.Name, Theme.Default); }
SurfaceThe drawing target: a grid of cells, each holding one symbol and one style, serialized into a single write per frame. Needs nothing but an IArlecchinoTerminal, so it works outside a hosted application too.

Structs

TypeSummary
MarginBlank space around something, measured in cells. Used both by the flow calls on Surface and by SurfaceRegion.Inset.
SurfaceRegionA rectangle on a SurfaceRegion.Surface with its own coordinates and clipping, so writing outside it is dropped. The same geometry answers where a click landed.

Enums

TypeSummary
AlignWhere text or a block sits inside the space it is drawn into. Horizontal and vertical flags combine, so Align.Right | Align.Bottom anchors to a corner.