Skip to main content

TryGetGlyphTypeface Method

Definition​

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

public abstract bool TryGetGlyphTypeface(
string familyName,
FontStyle style,
FontWeight weight,
FontStretch stretch,
out IGlyphTypeface?? glyphTypeface
)
View Source

Parameters​

  String
 
  FontStyle
 
  FontWeight
 
  FontStretch
 
  IGlyphTypeface
 

Return Value​

Boolean

Implements​

IFontCollection.TryGetGlyphTypeface(String, FontStyle, FontWeight, FontStretch, IGlyphTypeface)

See Also​

Reference​

FontCollectionBase Class
Avalonia.Media.Fonts Namespace