Table of Contents

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

Family string
MonospaceFamily string
SmallSize float
NormalSize float
LargeSize float
TitleSize float

Properties

Family

public string Family { get; init; }

Property Value

string

Large

Large text style.

public TextStyle Large { get; }

Property Value

TextStyle

LargeSize

public float LargeSize { get; init; }

Property Value

float

Monospace

Monospace text style.

public TextStyle Monospace { get; }

Property Value

TextStyle

MonospaceFamily

public string MonospaceFamily { get; init; }

Property Value

string

Normal

Normal text style.

public TextStyle Normal { get; }

Property Value

TextStyle

NormalSize

public float NormalSize { get; init; }

Property Value

float

Small

Small text style.

public TextStyle Small { get; }

Property Value

TextStyle

SmallSize

public float SmallSize { get; init; }

Property Value

float

Title

Title text style.

public TextStyle Title { get; }

Property Value

TextStyle

TitleSize

public float TitleSize { get; init; }

Property Value

float