IFontCollection Interface

Definition

Namespace: Avalonia.Media.Fonts
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public interface IFontCollection : IReadOnlyList<FontFamily>, 
	IEnumerable<FontFamily>, IEnumerable, IReadOnlyCollection<FontFamily>, 
	IDisposable
Implements
IEnumerableFontFamily, IReadOnlyCollectionFontFamily, IReadOnlyListFontFamily, IEnumerable, IDisposable

Properties

CountGets the number of elements in the collection.
(Inherited from IReadOnlyCollectionFontFamily)
ItemInt32Gets the element at the specified index in the read-only list.
(Inherited from IReadOnlyListFontFamily)
Key Get the font collection's key.

Methods

DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
GetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableFontFamily)
Initialize(IFontManagerImpl) Initializes the font collection.
TryGetGlyphTypeface(String, FontStyle, FontWeight, FontStretch, IGlyphTypeface) Try to get a glyph typeface for given parameters.
TryMatchCharacter(Int32, FontStyle, FontWeight, FontStretch, String, CultureInfo, Typeface) Tries to match a specified character to a Typeface that supports specified font properties.

See Also