List of usage examples for com.badlogic.gdx.graphics.g2d BitmapFontCache setColor
public void setColor(float color)
From source file:com.ridiculousRPG.ui.DisplayPlainTextService.java
License:Apache License
private BitmapFontCache createMsg(CharSequence text, float color, float x, float y, float wrapWidth) { BitmapFontCache bfc = fontCachePool.obtain(font); bfc.setColor(color); if (wrapWidth > 0f) bfc.setWrappedText(text, x, y, wrapWidth); else/*from ww w. j av a 2s .c o m*/ bfc.setMultiLineText(text, x, y); return bfc; }