Figlet Text
Figlet text makes your text look more awesome!
As part of the main Textify library, you can write figlet text using one of the 550+ fonts provided with the library!
How do you write Figlet text to the console?
This feature is easy to use. Just call the Console.WriteLine()
function with FigletTools.RenderFiglet()
, passing the text and the figlet font name (case sensitive):
Additionally, you can get the Figlet font instance using one of the following FigletFonts
functions, passing the font name (lowercase) to the first argument:
GetByName()
TryGetByName()
After you get the instance, you can call the Render()
function on it, passing the text as the first argument.
Other ways
Additionally, you can use the FigletTools
class to get a list of supported Figlet fonts and their instances using the GetFigletFonts()
function.
GetFigletFont()
also does the same as GetByName()
, except that it uses the fallback font, small
, when the font is not found.
Last updated