IFontCollection Interface
Definition
Namespace: Avalonia.Media.Fonts
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public interface IFontCollection : IReadOnlyList<FontFamily>,
IEnumerable<FontFamily>, IEnumerable, IReadOnlyCollection<FontFamily>,
IDisposable
Public Interface IFontCollection
Inherits IReadOnlyList(Of FontFamily), IEnumerable(Of FontFamily),
IEnumerable, IReadOnlyCollection(Of FontFamily), IDisposable
type IFontCollection =
interface
interface IReadOnlyList<FontFamily>
interface IEnumerable<FontFamily>
interface IEnumerable
interface IReadOnlyCollection<FontFamily>
interface IDisposable
end
Implements | IEnumerable(FontFamily), IReadOnlyCollection(FontFamily), IReadOnlyList(FontFamily), IEnumerable, IDisposable |
Properties
Count | Gets the number of elements in the collection. (Inherited from IReadOnlyCollection(FontFamily)) |
Item(Int32) | Gets the element at the specified index in the read-only list. (Inherited from IReadOnlyList(FontFamily)) |
Key | Get the font collection's key. |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable(FontFamily)) |
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. |