Search Results for

    Show / Hide Table of Contents

    Class NerdFonts

    Nerd Fonts renderer

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    NerdFonts
    Namespace: Terminaux.Writer.CyclicWriters.Simple
    Assembly: Terminaux.dll
    Syntax
    public class NerdFonts : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    NerdFonts(NerdFontsTypes, string)

    Makes a new Nerd Fonts instance

    Declaration
    public NerdFonts(NerdFontsTypes type, string charName)
    Parameters
    Type Name Description
    NerdFontsTypes type

    Nerd Fonts type

    string charName

    Character name

    Properties

    | Edit this page View Source

    BackgroundColor

    Background color

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    ForegroundColor

    Foreground color

    Declaration
    public Color ForegroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    UseColors

    Whether to use colors or not

    Declaration
    public bool UseColors { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Render()

    Renders a Nerd Fonts glyph

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    A string representation of the Nerd Fonts glyph

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX