gamnit :: BMFontChar :: defaultinit
# Description of a character in a `BMFont`
class BMFontChar
# Subtexture left coordinate
var x: Float
# Subtexture top coordinate
var y: Float
# Subtexture width
var width: Float
# Subtexture height
var height: Float
# Drawing offset on X
var xoffset: Float
# Drawing offset on Y
var yoffset: Float
# Cursor advance after drawing this character
var xadvance: Float
# Full texture contaning this character and others
var page: RootTexture
# TODO Channel where the image is found
#var chnl: Int
# Subtexture with this character image only
var subtexture: Texture = page.subtexture(x, y, width, height) is lazy, writable
# Scale to apply to this char only
var scale = 1.0 is writable
end
lib/gamnit/bmfont.nit:117,1--152,3