Skip to main content

TryGetGlyph Method

Tries to get an glyph index for specified codepoint.

Definition​

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

bool TryGetGlyph(
uint codepoint,
out ushort glyph
)
View Source

Parameters​

  UInt32
The codepoint.
  UInt16
A glyph index.

Return Value​

Boolean
true if an glyph index was found, false otherwise.

See Also​

Reference​

IGlyphTypeface Interface
Avalonia.Media Namespace