Skip to main content

GetGlyphs Method

Returns an array of glyph indices. Codepoints that are not represented by the font are returned as 0.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

ushort[] GetGlyphs(
ReadOnlySpan<uint> codepoints
)
View Source

Parameters

  ReadOnlySpan(UInt32)
The codepoints to map.

Return Value

UInt16[]
An array of glyph indices.

See Also

Reference

IGlyphTypeface Interface
Avalonia.Media Namespace