GlyphTypeface.

GetGlyph(uint) Method

Summary

Returns an glyph index for the specified codepoint.
Namespace
Avalonia.Media
Containing Type
GlyphTypeface

Syntax

public ushort GetGlyph(uint codepoint)

Remarks

Returns a replacement glyph if a glyph isn't found.

Parameters

Name Type Description
codepoint uint The codepoint.

Return Value

Type Description
ushort A glyph index.