API Reference
GlyphSet
The built-in glyph sets. GlyphSet.Full needs a modern font (Cascadia, JetBrains Mono, DejaVu); GlyphSet.Basic stays inside the WGL4 repertoire that Consolas and Lucida Console cover; GlyphSet.Ascii is printable ASCII only.
Inheritance
- Object
- GlyphSet
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Method GlyphSet.For
- Property GlyphSet.Ascii
- Property GlyphSet.Basic
- Property GlyphSet.Full
Methods
public static GlyphSet For(GlyphTier tier) #GlyphSetReturns the built-in set for a tier.
Parameters
- tier ConsoleMonster.Capabilities.GlyphTier
- The tier.
Returns
The glyph set.
public String Get(Glyph glyph) #StringReturns a semantic glyph.
Parameters
- glyph ConsoleMonster.Glyphs.Glyph
- The glyph name.
Returns
The text (may be wider than one cell, for example tree prefixes or ASCII ellipsis).
public BoxGlyphs GetBox(BoxStyle style) #BoxGlyphsReturns border glyphs, falling back to a style the tier can show.
Parameters
- style ConsoleMonster.Glyphs.BoxStyle
- The requested style.
Returns
The border glyphs actually used.
public String HorizontalFill(Int32 eighths) #StringA partial horizontal block for eighths of a cell (1-8), or empty when the tier cannot show it.
Parameters
- eighths System.Int32
- Filled eighths, 1-8.
Returns
The glyph, or an empty string.
public String StatusMarker(StatusKind status) #StringThe marker shown for a status. Full and Basic return one symbol; Ascii returns a bracketed word such as [PASS] so status stays readable without colour.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
Returns
The marker text.
public String VerticalFill(Int32 eighths) #StringA partial vertical block for eighths of a cell (1-8), or empty when the tier cannot show it.
Parameters
- eighths System.Int32
- Filled eighths, 1-8.
Returns
The glyph, or an empty string.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public static GlyphSet Full { get; } #Braille, eighth blocks and rounded corners. Needs Cascadia, JetBrains Mono, DejaVu, Menlo or similar.
public static GlyphSet Basic { get; } #Box drawing, shades and half blocks from the WGL4 repertoire (Consolas, Lucida Console).
public static GlyphSet Ascii { get; } #Printable ASCII only; statuses become bracketed words.
public Boolean SupportsBraille { get; } #Whether braille patterns (U+2800-U+28FF) render reliably.
public IReadOnlyList<String> VerticalRamp { get; } #Vertical levels from empty (index 0) to full (last index), used by sparklines.