API Reference
Class
AsciiPresets
Ready-to-use ASCII render presets tuned for console readability.
Inheritance
- Object
- AsciiPresets
Methods
public static MatrixAsciiRenderOptions Console(Int32 scale = 3, Boolean useAnsiColors = true, Boolean trueColor = true, Nullable<Rgba32> darkColor = null, Nullable<Rgba32> lightColor = null) #Returns:
MatrixAsciiRenderOptionsCreates a console-friendly preset that is much easier to scan from a terminal.
Parameters
- scale System.Int32 = 3
- Scale multiplier applied to module size (try 3-5 for phones).
- useAnsiColors System.Boolean = true
- Whether to emit ANSI color escape codes.
- trueColor System.Boolean = true
- Whether to use ANSI truecolor (24-bit) output.
- darkColor System.Nullable{CodeGlyphX.Rendering.Png.Rgba32} = null
- Optional ANSI color for dark modules.
- lightColor System.Nullable{CodeGlyphX.Rendering.Png.Rgba32} = null
- Optional ANSI color for light modules.
public static MatrixAsciiRenderOptions ConsoleCompact(Int32 scale = 1, Boolean useAnsiColors = true, Boolean trueColor = true, Nullable<Rgba32> darkColor = null, Nullable<Rgba32> lightColor = null) #Returns:
MatrixAsciiRenderOptionsCreates a compact console preset that uses Unicode half-blocks.
Parameters
- scale System.Int32 = 1
- Scale multiplier applied to module size (try 2-3 for screens).
- useAnsiColors System.Boolean = true
- Whether to emit ANSI color escape codes.
- trueColor System.Boolean = true
- Whether to use ANSI truecolor (24-bit) output.
- darkColor System.Nullable{CodeGlyphX.Rendering.Png.Rgba32} = null
- Optional ANSI color for dark modules.
- lightColor System.Nullable{CodeGlyphX.Rendering.Png.Rgba32} = null
- Optional ANSI color for light modules.