BitmapFont.addChar

Adds a character to the font, where character is the unicode value, texture is the texture index, rect is the region in the texture (in pixels!), align is the (optional) alignment for the character and advance is the (optional) advance.

struct BitmapFont
@nogc nothrow
void
addChar
(
in long character
,
in long texture
,
in Rect2 rect
,
in Vector2 _align = Vector2(0, 0)
,
in double advance = -1
)

Meta