Summary
Represents a typeface.
- Namespace
- Avalonia
.Media - Interfaces
-
- IEquatable
<Typeface>
- IEquatable
- Base Types
-
- object
- ValueType
graph BT
Type-->Base0["ValueType"]
Base0-->Base1["object"]
Type-.->Interface0["IEquatable<Typeface>"]
Type["Typeface"]
class Type type-node
Syntax
[DebuggerDisplay("Name = {FontFamily.Name}, Weight = {Weight}, Style = {Style}")]
public readonly struct Typeface : ValueType, IEquatable<Typeface>
Attributes
Type | Description |
---|---|
Debugger |
Constructors
Name | Summary |
---|---|
Typeface |
Initializes a new instance of the Typeface class.
|
Typeface |
Initializes a new instance of the Typeface class.
|
Properties
Name | Value | Summary |
---|---|---|
Default | Typeface |
static
|
FontFamily | FontFamily |
Gets the font family.
|
GlyphTypeface | GlyphTypeface |
Gets the glyph typeface.
|
Style | FontStyle |
Gets the font style.
|
Weight | FontWeight |
Gets the font weight.
|
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool | |
Equals |
bool | |
GetHashCode |
int |
Operators
Name | Value | Summary |
---|---|---|
operator != |
bool | |
operator == |
bool |