Arlecchino.Rendering
Classes
| Type | Summary |
|---|---|
PaneFlow | A 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); } |
Surface | The 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
| Type | Summary |
|---|---|
Margin | Blank space around something, measured in cells. Used both by the flow calls on Surface and by SurfaceRegion.Inset. |
SurfaceRegion | A 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
| Type | Summary |
|---|---|
Align | Where 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. |