IGlyphTypefaceGetGlyph Method

Returns an glyph index for the specified codepoint.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
ushort GetGlyph(
	uint codepoint
)

Parameters

codepoint  UInt32
The codepoint.

Return Value

UInt16
A glyph index.

Remarks

Returns 0 if a glyph isn't found.

See Also