Class UIFont

Namespace
Forma
Assembly
Forma.dll
public abstract class UIFont : IEquatable<UIFont>
Inheritance
UIFont
Implements
Derived
Inherited Members

Constructors

UIFont(UIFontIdentity, float, IReadOnlyList<UIFontOpenTypeFeature>, UIFontWeight, UIFontStyle, UIFontStretch)

protected UIFont(UIFontIdentity identity, float size, IReadOnlyList<UIFontOpenTypeFeature> defaultOpenTypeFeatures = null, UIFontWeight weight = UIFontWeight.Normal, UIFontStyle style = UIFontStyle.Normal, UIFontStretch stretch = UIFontStretch.Normal)

Parameters

identity UIFontIdentity
size float
defaultOpenTypeFeatures IReadOnlyList<UIFontOpenTypeFeature>
weight UIFontWeight
style UIFontStyle
stretch UIFontStretch

Properties

DefaultOpenTypeFeatures

public IReadOnlyList<UIFontOpenTypeFeature> DefaultOpenTypeFeatures { get; }

Property Value

IReadOnlyList<UIFontOpenTypeFeature>

Identity

public UIFontIdentity Identity { get; }

Property Value

UIFontIdentity

Size

public float Size { get; }

Property Value

float

Stretch

public UIFontStretch Stretch { get; }

Property Value

UIFontStretch

Style

public UIFontStyle Style { get; }

Property Value

UIFontStyle

Weight

public UIFontWeight Weight { get; }

Property Value

UIFontWeight

Methods

Equals(UIFont)

public bool Equals(UIFont other)

Parameters

other UIFont

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int