Package com.github.tommyettinger.textra
package com.github.tommyettinger.textra
Contains the core of the library, such as the TypingLabel and Font classes.
-
Interface SummaryInterfaceDescriptionAllows looking up an RGBA8888 Integer color given a String key, returning either the color or null if none was found.Simple listener for label events.
-
Class SummaryClassDescriptionThe default ColorLookup, this simply looks up
keyinColors, returning null if no Color exists by that exact name (case-sensitive), or returning the RGBA8888 value of the color otherwise.Abstract text effect.A replacement for libGDX's BitmapFont class, supporting additional markup to allow styling text with various effects.Describes the region of a glyph in a larger TextureRegion, carrying a little more info about the offsets that apply to where the glyph is rendered.Preconfigured staticFontinstances, with any important metric adjustments already applied.A replacement for libGDX's GlyphLayout, more or less; stores one or more (possibly empty)Lines of text, which can use color and style markup fromFont, and can be drawn withFont.drawGlyphs(Batch, Layout, float, float, int).One line of possibly-colorful, possibly-styled text, with a width and height set byFont.markup(String, Layout)on Lines in aLayout.A scene2d.ui Widget that displays text using aFontrather than a libGDX BitmapFont.Simple listener for label events.Configuration class that easily allows the user to fine tune the library's functionality.An extension ofLabelthat progressively shows the text as if it was being typed in real time, and allows the use of tokens in the following format: {TOKEN=PARAMETER}. -
Enum Class SummaryEnum ClassDescriptionDefines what types of distance field font this can use and render.