BitmapFont:add_glyph()
BitmapFont:add_glyph(param_table)
BitmapFont:add_glyph(code_point, bitmap)
This method adds a glyph correnspoinding to a code point.
Parameters
Parameter | Type | Description |
---|---|---|
param_table | table | This parameter is in associative array table format, meaning it's specified by keys rather than parameter positions. See the Parameters Table section. |
code_point | string | Specifies the glyph to add and the corresponding Unicode code point using a Lua string of length 1. For example, if you want to add a glyph for U+004D, specify 'M' . |
bitmap | Bitmap | Bitmap that represents the glyph. |
Parameters Table
Key | Type | Description |
---|---|---|
code_point | string | Specifies the glyph to add and the corresponding Unicode code point using a Lua string of length 1. For example, if you want to add a glyph for U+004D, specify 'M' . |
bitmap | Bitmap | Bitmap that represents the glyph. |
Return Values
This method doesn't return any value.