Class NerdFonts
Nerd Fonts renderer
Namespace: Terminaux.Writer.CyclicWriters.Simple
Assembly: Terminaux.dll
Syntax
public class NerdFonts : SimpleCyclicWriter
Constructors
| Edit this page View SourceNerdFonts(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 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 override string Render()
Returns
| Type | Description |
|---|---|
| string | A string representation of the Nerd Fonts glyph |