Package com.github.tommyettinger.textra


package com.github.tommyettinger.textra
Contains the core of the library, such as the TypingLabel and Font classes.
  • Class
    Description
    Allows looking up an RGBA8888 int color given a String key, returning either the color or 256 if none was found.
    The default ColorLookup, this simply looks up key in Colors, returning 256 (fully transparent, extremely dark blue) 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.
    Defines what types of distance field font this can use and render.
    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 static Font instances, 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 from Font, and can be drawn with Font.drawGlyphs(Batch, Layout, float, float, int).
    One line of possibly-colorful, possibly-styled text, with a width and height set by Font.markup(String, Layout) on Lines in a Layout.
    A scene2d.ui Widget that displays text using a Font rather 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 of Label that 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}.
    Simple listener for label events.