Edit

SKTypeface.GetGlyph(Int32) Method

Definition

Caution

Use SKFont directly instead.

Returns the glyph ID for the specified Unicode codepoint.

[System.Obsolete("Use SKFont directly instead.")]
public ushort GetGlyph(int codepoint);

Parameters

codepoint
Int32

The Unicode codepoint.

Returns

The glyph ID, or 0 if the typeface does not contain a glyph for this codepoint.

Attributes

Applies to