FontManagerTryGetGlyphTypeface Method

Tries to get a glyph typeface for specified typeface.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool TryGetGlyphTypeface(
	Typeface typeface,
	out IGlyphTypeface?? glyphTypeface
)

Parameters

typeface  Typeface
The typeface.
glyphTypeface  IGlyphTypeface
The created glyphTypeface

Return Value

Boolean
True, if the FontManager could create the glyph typeface, False otherwise.

See Also