FontManager.

GetOrAddGlyphTypeface(Typeface) Method

Summary

Returns a new GlyphTypeface, or an existing one if a matching GlyphTypeface exists.
Namespace
Avalonia.Media
Containing Type
FontManager

Syntax

public GlyphTypeface GetOrAddGlyphTypeface(Typeface typeface)

Parameters

Name Type Description
typeface Typeface The typeface.

Return Value

Type Description
GlyphTypeface The GlyphTypeface.