Skip to content

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.

Declaration
public static class BlockElements

True when the rune renders as rectangles rather than a glyph.

Declaration
public static bool Covers(int rune)

System.Boolean

Type Name
System.Int32 rune

The rune’s rectangles in unit cell space; false leaves the rune to the font.

Declaration
public static bool TryGetRects(int rune, out BlockElements.Rect[] rects)

System.Boolean

Type Name
System.Int32 rune
DarkEffekt.Terminal.BlockElements.Rect[] rects