Table of Contents

Struct FontFace

Namespace
Xui.Runtime.Software.Font
Assembly
Xui.Runtime.Software.dll
public readonly struct FontFace
Inherited Members

Constructors

FontFace(string, FontWeight, FontStyle, FontStretch)

public FontFace(string family, FontWeight weight, FontStyle style, FontStretch stretch)

Parameters

family string
weight FontWeight
style FontStyle
stretch FontStretch

Fields

Comparer

A struct comparer for FontFace that avoids boxing and uses case-insensitive family comparison.

public static readonly IEqualityComparer<FontFace> Comparer

Field Value

IEqualityComparer<FontFace>

Properties

Family

public string Family { get; }

Property Value

string

Stretch

public FontStretch Stretch { get; }

Property Value

FontStretch

Style

public FontStyle Style { get; }

Property Value

FontStyle

Weight

public FontWeight Weight { get; }

Property Value

FontWeight