IGlyphTypefaceImpl.

GetGlyphs(ReadOnlySpan<uint>) Method

Summary

Returns an array of glyph indices. Codepoints that are not represented by the font are returned as
0
.
Namespace
Avalonia.Platform
Containing Type
IGlyphTypefaceImpl

Syntax

ushort[] GetGlyphs(ReadOnlySpan<uint> codepoints)

Parameters

Name Type Description
codepoints ReadOnlySpan<uint> The codepoints to map.

Return Value

Type Description
ushort[] An array of glyph indices.