Class Typography
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Font families and sizes of a theme.
public sealed record Typography : IEquatable<Typography>
- Inheritance
-
Typography
- Implements
- Inherited Members
Constructors
Typography(string, string, float, float, float, float)
Font families and sizes of a theme.
public Typography(string Family = "Segoe UI", string MonospaceFamily = "Consolas", float SmallSize = 10.5, float NormalSize = 12, float LargeSize = 14, float TitleSize = 18)
Parameters
FamilystringMonospaceFamilystringSmallSizefloatNormalSizefloatLargeSizefloatTitleSizefloat
Properties
Family
public string Family { get; init; }
Property Value
Large
Large text style.
public TextStyle Large { get; }
Property Value
LargeSize
public float LargeSize { get; init; }
Property Value
Monospace
Monospace text style.
public TextStyle Monospace { get; }
Property Value
MonospaceFamily
public string MonospaceFamily { get; init; }
Property Value
Normal
Normal text style.
public TextStyle Normal { get; }
Property Value
NormalSize
public float NormalSize { get; init; }
Property Value
Small
Small text style.
public TextStyle Small { get; }
Property Value
SmallSize
public float SmallSize { get; init; }
Property Value
Title
Title text style.
public TextStyle Title { get; }
Property Value
TitleSize
public float TitleSize { get; init; }