IGlyphTypefaceTryGetGlyph Method
Tries to get an glyph index for specified codepoint.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
bool TryGetGlyph(
uint codepoint,
out ushort glyph
)
Function TryGetGlyph (
codepoint As UInteger,
<OutAttribute> ByRef glyph As UShort
) As Boolean
abstract TryGetGlyph :
codepoint : uint32 *
glyph : uint16 byref -> bool
- codepoint UInt32
- The codepoint.
- glyph UInt16
- A glyph index.
Booleantrue if an glyph index was found,
false otherwise.