Class NerdFonts
Nerd Fonts renderer
Inheritance
object
NerdFonts
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class NerdFonts : IStaticRenderable
Constructors
| Edit this page View SourceNerdFonts(NerdFontsTypes, string)
Makes a new nerdfonts 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 SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ForegroundColor
Foreground color
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceRender()
Renders a Nerd Fonts glyph
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | A string representation of the Nerd Fonts glyph |