Class NerdFonts
Nerd Fonts renderer
Inheritance
Namespace
Syntax
public class NerdFonts : SimpleCyclicWriter
Constructors
NerdFonts(NerdFontsTypes, string)
Makes a new Nerd Fonts instance
Declaration
public NerdFonts(NerdFontsTypes type, string charName)
Parameters
| Name | Type | Description |
|---|---|---|
| type | NerdFontsTypes | Nerd Fonts type |
| charName | string | Character name |
Properties
BackgroundColor
Background color
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
ForegroundColor
Foreground color
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Methods
Render()
Renders a Nerd Fonts glyph
Returns
string
A string representation of the Nerd Fonts glyph
Declaration
public override string Render()