Font.getGlyph

Retrieve a glyph of the font.

class Font
getGlyph
const
(
dchar codePoint
,,
bool bold
)

Parameters

codePoint
Type: dchar

Unicode code point of the character ot get

characterSize
Type: uint

Reference character size

bold
Type: bool

Retrieve the bold version or the regular one?

Return Value

Type: Glyph

The glyph corresponding to codePoint and characterSize.

Meta