glyph

abstract fun glyph(codePoint: Int): MinecraftFontGlyph?(source)

Rasterizes one Unicode scalar, returning null when the font has no glyph.

Return

detached metrics and pixels, or null for a missing glyph.

Parameters

codePoint

valid Unicode scalar value.

Throws

when native loading or rasterization fails.