Typeface Structure
Represents a typeface.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public readonly struct Typeface : IEquatable<Typeface>
Public Structure Typeface
Implements IEquatable(Of Typeface)
[<SealedAttribute>]
type Typeface =
struct
inherit ValueType
interface IEquatable<Typeface>
end
| Inheritance | Object → ValueType → Typeface |
| Implements | IEquatable(Typeface) |
Constructors
| Typeface(FontFamily, FontStyle, FontWeight, FontStretch) | Initializes a new instance of the Typeface class. |
| Typeface(String, FontStyle, FontWeight, FontStretch) | Initializes a new instance of the Typeface class. |
Properties
| Default | |
| FontFamily | Gets the font family. |
| GlyphTypeface | Gets the glyph typeface. |
| Stretch | Gets the font stretch. |
| Style | Gets the font style. |
| Weight | Gets the font weight. |
Methods
| Equals(Object) | (Overrides ValueType.Equals(Object)) |
| Equals(Typeface) | |
| GetHashCode() | (Overrides ValueType.GetHashCode()) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| ToString() | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
Operators
| Equality(Typeface, Typeface) | |
| Inequality(Typeface, Typeface) |