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)
- C#
- VB
- F#
ushort[] GetGlyphs(
ReadOnlySpan<uint> codepoints
)
Function GetGlyphs (
codepoints As ReadOnlySpan(Of UInteger)
) As UShort()
abstract GetGlyphs :
codepoints : ReadOnlySpan<uint32> -> uint16[]
Parameters
- ReadOnlySpan(UInt32)
- The codepoints to map.
Return Value
UInt16[]
An array of glyph indices.