/** Adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout addText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign, boolean wrap) { return addText(str, x, y, start, end, targetWidth, halign, wrap, null); }
/** Adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout addText (CharSequence str, float x, float y) { return addText(str, x, y, 0, str.length(), 0, Align.left, false, null); }
/** Adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout addText (CharSequence str, float x, float y) { return addText(str, x, y, 0, str.length(), 0, Align.left, false, null); }
/** Adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout addText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) { return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap, null); }
/** Adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout addText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) { return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap, null); }
/** Clears any cached glyphs and adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout setText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign, boolean wrap, String truncate) { clear(); return addText(str, x, y, start, end, targetWidth, halign, wrap, truncate); }
/** Clears any cached glyphs and adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout setText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) { clear(); return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap); }
/** Clears any cached glyphs and adds the specified glyphs. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public void setText (GlyphLayout layout, float x, float y) { clear(); addText(layout, x, y); }
/** Clears any cached glyphs and adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout setText (CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) { clear(); return addText(str, x, y, 0, str.length(), targetWidth, halign, wrap); }
/** Clears any cached glyphs and adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout setText (CharSequence str, float x, float y, int start, int end, float targetWidth, int halign, boolean wrap, String truncate) { clear(); return addText(str, x, y, start, end, targetWidth, halign, wrap, truncate); }
/** Clears any cached glyphs and adds the specified glyphs. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public void setText (GlyphLayout layout, float x, float y) { clear(); addText(layout, x, y); }
/** Clears any cached glyphs and adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout setText (CharSequence str, float x, float y) { clear(); return addText(str, x, y, 0, str.length(), 0, Align.left, false); }
/** Clears any cached glyphs and adds glyphs for the specified text. * @see #addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout setText (CharSequence str, float x, float y) { clear(); return addText(str, x, y, 0, str.length(), 0, Align.left, false); }
/** Draws text at the specified position. * @see BitmapFontCache#addText(CharSequence, float, float) */ public GlyphLayout draw (Batch batch, CharSequence str, float x, float y) { cache.clear(); GlyphLayout layout = cache.addText(str, x, y); cache.draw(batch); return layout; }
/** Draws text at the specified position. * @see BitmapFontCache#addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout draw (Batch batch, CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap) { cache.clear(); GlyphLayout layout = cache.addText(str, x, y, targetWidth, halign, wrap); cache.draw(batch); return layout; }
/** Draws text at the specified position. * @see BitmapFontCache#addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout draw (Batch batch, CharSequence str, float x, float y, int start, int end, float targetWidth, int halign, boolean wrap) { cache.clear(); GlyphLayout layout = cache.addText(str, x, y, start, end, targetWidth, halign, wrap); cache.draw(batch); return layout; }
/** Draws text at the specified position. * @see BitmapFontCache#addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout draw (Batch batch, CharSequence str, float x, float y, int start, int end, float targetWidth, int halign, boolean wrap, String truncate) { cache.clear(); GlyphLayout layout = cache.addText(str, x, y, start, end, targetWidth, halign, wrap, truncate); cache.draw(batch); return layout; }
/** Draws text at the specified position. * @see BitmapFontCache#addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public void draw (Batch batch, GlyphLayout layout, float x, float y) { cache.clear(); cache.addText(layout, x, y); cache.draw(batch); }
/** Draws text at the specified position. * @see BitmapFontCache#addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public GlyphLayout draw (Batch batch, CharSequence str, float x, float y, int start, int end, float targetWidth, int halign, boolean wrap, String truncate) { cache.clear(); GlyphLayout layout = cache.addText(str, x, y, start, end, targetWidth, halign, wrap, truncate); cache.draw(batch); return layout; }
/** Draws text at the specified position. * @see BitmapFontCache#addText(CharSequence, float, float, int, int, float, int, boolean, String) */ public void draw (Batch batch, GlyphLayout layout, float x, float y) { cache.clear(); cache.addText(layout, x, y); cache.draw(batch); }