Class UIFontFamily

Namespace
Forma
Assembly
Forma.dll
public sealed class UIFontFamily : IEquatable<UIFontFamily>
Inheritance
UIFontFamily
Implements
Inherited Members

Constructors

UIFontFamily(IEnumerable<UIFont>)

public UIFontFamily(IEnumerable<UIFont> fonts)

Parameters

fonts IEnumerable<UIFont>

Properties

Fonts

public IReadOnlyList<UIFont> Fonts { get; }

Property Value

IReadOnlyList<UIFont>

Primary

public UIFont Primary { get; }

Property Value

UIFont

Methods

Equals(UIFontFamily)

public bool Equals(UIFontFamily other)

Parameters

other UIFontFamily

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Match(UIFontWeight, UIFontStyle, UIFontStretch)

public UIFont Match(UIFontWeight weight, UIFontStyle style, UIFontStretch stretch)

Parameters

weight UIFontWeight
style UIFontStyle
stretch UIFontStretch

Returns

UIFont