webmaster442.windowsterminal.fragments.terminalfont - webmaster442/WindowsTerminal GitHub Wiki
TerminalFont
Namespace: Webmaster442.WindowsTerminal.Fragments
Represents a font used in the terminal
public sealed class TerminalFont
Inheritance Object → TerminalFont Attributes NullableContextAttribute, NullableAttribute
Properties
Face
This is the name of the font face used in the profile. The terminal will try to fallback to Consolas if this can't be found or is invalid.
public string Face { get; set; }
Property Value
Size
This sets the profile's font size in points.
public int Size { get; set; }
Property Value
Weight
This sets the weight (lightness or heaviness of the strokes) for the profile's font.
public TerminalFontWeight Weight { get; set; }
Property Value
Constructors
TerminalFont()
public TerminalFont()