I have started going through a LibGDX project from a while ago, which uses a BitmapFont
and to space it correctly I would use font.getBounds(text).getWidth()
where text
is a String
and font
is a BitmapFont
. However no that I look through the LibGDX API I can't find the getBounds()
function nor any repacement.
Any help would be appreciated.