A BitmapChar contains the information about one char of a bitmap font.
You don't have to use this class directly in most cases.
The TextField class contains methods that handle bitmap fonts for you.
Constructor
new(id:Int, x:Float, y:Float, width:Float, height:Float, xOffset:Float, yOffset:Float, xAdvance:Float)
Creates a char with a texture and its properties.
Variables
read onlyxAdvance:Float
The number of points the cursor has to be moved to the right for the next char.
read onlyxOffset:Float
The number of points to move the char in x direction on character arrangement.
read onlyyOffset:Float
The number of points to move the char in y direction on character arrangement.
Methods
addKerning(charID:Int, amount:Float):Void
Adds kerning information relative to a specific other character ID.