GlyphTypeface.

TryGetGlyph(uint, ushort) Method

Summary

Tries to get an glyph index for specified codepoint.
Namespace
Avalonia.Media
Containing Type
GlyphTypeface

Syntax

public bool TryGetGlyph(uint codepoint, out ushort glyph)

Parameters

Name Type Description
codepoint uint The codepoint.
glyph ushort A glyph index.

Return Value

Type Description
bool true if an glyph index was found, false otherwise.