Skip to main content

FontFamilyKey Class

Represents an identifier for a FontFamily

Definition​

Namespace: Avalonia.Media.Fonts
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class FontFamilyKey
View Source
InheritanceObject → FontFamilyKey

Constructors​

FontFamilyKey(Uri, Uri)Creates a new instance of FontFamilyKey

Properties​

BaseUriA base URI to use if Source is relative
SourceSource of stored font asset that belongs to a FontFamily

Methods​

Equals(Object)Determines whether the specified Object, is equal to this instance.
(Overrides Object.Equals(Object))
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Returns a hash code for this instance.
(Overrides Object.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a String that represents this instance.
(Overrides Object.ToString())

Operators​

Equality(FontFamilyKey, FontFamilyKey) 
Inequality(FontFamilyKey, FontFamilyKey) 

See Also​

Reference​

Avalonia.Media.Fonts Namespace