Skip to main content

GetGlyph Method

Returns an glyph index for the specified codepoint.

Definition

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

ushort GetGlyph(
uint codepoint
)
View Source

Parameters

  UInt32
The codepoint.

Return Value

UInt16
A glyph index.

Remarks

Returns 0 if a glyph isn't found.

See Also

Reference

IGlyphTypeface Interface
Avalonia.Media Namespace