Class BlockElements
The block elements (U+2580..U+259F) the renderer draws as exact rectangles instead of font glyphs, so bars, meters, and fills tile without seams at any cell size. Each rune maps to rectangles in unit cell space, x rightward and y downward from the cell’s top left. The shades (U+2591..U+2593) stay glyphs: they are textures, not shapes.
Assembly: DarkEffekt.Terminal.Core
Section titled “Assembly: DarkEffekt.Terminal.Core”public static class BlockElementsMethods
Section titled “Methods”Covers(int)
Section titled “Covers(int)”True when the rune renders as rectangles rather than a glyph.
public static bool Covers(int rune)Returns
Section titled “Returns”System.Boolean
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
rune |
TryGetRects(int, out Rect[])
Section titled “TryGetRects(int, out Rect[])”The rune’s rectangles in unit cell space; false leaves the rune to the font.
public static bool TryGetRects(int rune, out BlockElements.Rect[] rects)Returns
Section titled “Returns”System.Boolean
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
rune |
DarkEffekt.Terminal.BlockElements.Rect[] |
rects |