webmaster442.windowsterminal.fragments.terminalfont - webmaster442/WindowsTerminal GitHub Wiki

< Back


TerminalFont

Namespace: Webmaster442.WindowsTerminal.Fragments

Represents a font used in the terminal

public sealed class TerminalFont

Inheritance ObjectTerminalFont 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

String

Size

This sets the profile's font size in points.

public int Size { get; set; }

Property Value

Int32

Weight

This sets the weight (lightness or heaviness of the strokes) for the profile's font.

public TerminalFontWeight Weight { get; set; }

Property Value

TerminalFontWeight

Constructors

TerminalFont()

public TerminalFont()

< Back