Class UIFont
- Namespace
- Forma
- Assembly
- Forma.dll
public abstract class UIFont : IEquatable<UIFont>
- Inheritance
-
UIFont
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
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
public IReadOnlyList<UIFontOpenTypeFeature> DefaultOpenTypeFeatures { get; }
Property Value
- IReadOnlyList<UIFontOpenTypeFeature>
public UIFontIdentity Identity { get; }
Property Value
- UIFontIdentity
public float Size { get; }
Property Value
- float
public UIFontStretch Stretch { get; }
Property Value
- UIFontStretch
public UIFontStyle Style { get; }
Property Value
- UIFontStyle
public UIFontWeight Weight { get; }
Property Value
- UIFontWeight
Methods
public bool Equals(UIFont other)
Parameters
other UIFont
Returns
- bool
public override bool Equals(object obj)
Parameters
obj object
Returns
- bool
public override int GetHashCode()
Returns
- int