Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X 

A

act(float) - Method in class com.github.tommyettinger.textra.TypingLabel
 
activeEffects - Variable in class com.github.tommyettinger.textra.TypingLabel
 
actualCrispness - Variable in class com.github.tommyettinger.textra.Font
When Font.distanceField is Font.DistanceFieldType.SDF or Font.DistanceFieldType.MSDF, this determines how much the edges of the glyphs should be aliased sharply (higher values) or anti-aliased softly (lower values).
add(long) - Method in class com.github.tommyettinger.textra.Layout
Adds a long glyph as processed by Font to store color and style info with the char.
addAtlas(TextureAtlas) - Method in class com.github.tommyettinger.textra.Font
Adds all items in atlas to the private use area of Font.mapping, and stores their names, so they can be looked up with [+saxophone] syntax.
addEmoji(Font) - Static method in class com.github.tommyettinger.textra.KnownFonts
Takes a Font and adds the Twemoji icon set to it, making the glyphs available using [+name] syntax.
addImage(String, TextureRegion, float, float, float) - Method in class com.github.tommyettinger.textra.Font
Makes this Font "learn" a new mapping from a char (typically an emoji in a String for character) to a TextureRegion, allowing any offsets on x or y to be specified as well as the amount of horizontal space the resulting GlyphRegion should use.
addImage(String, TextureRegion) - Method in class com.github.tommyettinger.textra.Font
Makes this Font "learn" a new mapping from a char (typically an emoji in a String for character) to a TextureRegion.
adjustCellWidth(float) - Method in class com.github.tommyettinger.textra.Font
Multiplies the width used by each glyph in a monospaced font by multiplier without changing the size of any characters.
adjustLineHeight(float) - Method in class com.github.tommyettinger.textra.Font
Multiplies the line height by multiplier without changing the size of any characters.
align - Variable in class com.github.tommyettinger.textra.TextraLabel
 
appendInto(StringBuilder) - Method in class com.github.tommyettinger.textra.Layout
Primarily used by Layout.toString(), but can be useful if you want to append many Layouts into a StringBuilder.
appendIntoDirect(StringBuilder) - Method in class com.github.tommyettinger.textra.Layout
Can be useful if you want to append many Layouts into a StringBuilder.
appendTo(StringBuilder) - Method in class com.github.tommyettinger.textra.Line
 
apply(long, int, float) - Method in class com.github.tommyettinger.textra.Effect
Applies the effect to the given glyph.
applyChar(long, char) - Static method in class com.github.tommyettinger.textra.Font
Replaces the section of glyph that stores its char with the given other char.
applyColor(long, int) - Static method in class com.github.tommyettinger.textra.Font
Replaces the section of glyph that stores its color with the given RGBA8888 int color.
applyScale(long, float) - Static method in class com.github.tommyettinger.textra.Font
Replaces the section of glyph that stores its scale with the given float multiplier, rounded to a multiple of 0.25 and wrapped to within 0.0 to 3.75, both inclusive.
applyStyle(long, long) - Static method in class com.github.tommyettinger.textra.Font
Replaces the section of glyph that stores its style with the given long bits.You can get the bit constants with Font.BOLD, Font.OBLIQUE, Font.UNDERLINE, Font.STRIKETHROUGH, Font.SUBSCRIPT, Font.MIDSCRIPT, and Font.SUPERSCRIPT.
atLimit - Variable in class com.github.tommyettinger.textra.Layout
 

B

baseColor - Variable in class com.github.tommyettinger.textra.Layout
 
BlinkEffect - Class in com.github.tommyettinger.textra.effects
Blinks the entire text in two different colors at once, without interpolation.
BlinkEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.BlinkEffect
 
BlockUtils - Class in com.github.tommyettinger.textra.utils
 
BlockUtils() - Constructor for class com.github.tommyettinger.textra.utils.BlockUtils
 
BOLD - Static variable in class com.github.tommyettinger.textra.Font
Bit flag for bold mode, as a long.
BOX_DRAWING - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
button(String) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a text button to the button table.
button(String, Object) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a text button to the button table.
button(String, Object, TextButton.TextButtonStyle) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a text button to the button table.
button(Button) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds the given button to the button table.
button(Button, Object) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds the given button to the button table.
button(String) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a text button to the button table.
button(String, Object) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a text button to the button table.
button(String, Object, TextButton.TextButtonStyle) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a text button to the button table.
button(Button) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds the given button to the button table.
button(Button, Object) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds the given button to the button table.

C

calculateFadeout() - Method in class com.github.tommyettinger.textra.Effect
Calculates the fadeout of this effect, if any.
calculateProgress(float) - Method in class com.github.tommyettinger.textra.Effect
Calculates a linear progress dividing the total time by the given modifier.
calculateProgress(float, float) - Method in class com.github.tommyettinger.textra.Effect
Calculates a linear progress dividing the total time by the given modifier.
calculateProgress(float, float, boolean) - Method in class com.github.tommyettinger.textra.Effect
Calculates a linear progress dividing the total time by the given modifier.
calculateSize(Line) - Method in class com.github.tommyettinger.textra.Font
Measures the actual width that the given Line will use when drawn, and sets it into the Line's Line.width field.
calculateSize(Layout) - Method in class com.github.tommyettinger.textra.Font
 
cancel() - Method in class com.github.tommyettinger.textra.TextraDialog
 
cancel() - Method in class com.github.tommyettinger.textra.TypingDialog
 
cancelSkipping() - Method in class com.github.tommyettinger.textra.TypingLabel
Cancels calls to TypingLabel.skipToTheEnd().
CarouselEffect - Class in com.github.tommyettinger.textra.effects
Makes the text jumps and falls as if there was gravity.
CarouselEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.CarouselEffect
 
cellHeight - Variable in class com.github.tommyettinger.textra.Font
Refers to the largest height of any glyph in the font, after scaling.
cellWidth - Variable in class com.github.tommyettinger.textra.Font
Only actually refers to a "cell" when Font.isMono is true; otherwise refers to the largest width of any glyph in the font, after scaling.
channel(int, int) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Given a packed int color and a channel value from 0 to 3, gets the value of that channel as a float from 0.0f to 1.0f .
channelInt(int, int) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Given a packed int color and a channel value from 0 to 3, gets the value of that channel as an int from 0 to 255 .
CHAR_LIMIT_PER_FRAME - Static variable in class com.github.tommyettinger.textra.TypingConfig
Defines how many chars can appear per frame.
clear() - Method in class com.github.tommyettinger.textra.Layout
 
clearVariables() - Method in class com.github.tommyettinger.textra.TypingLabel
Removes all variables from this label.
ColorLookup - Interface in com.github.tommyettinger.textra
Allows looking up an RGBA8888 int color given a String key, returning either the color or 256 if none was found.
colorLookup - Variable in class com.github.tommyettinger.textra.Font
Determines how colors are looked up by name; defaults to using Colors.
ColorLookup.GdxColorLookup - Class in com.github.tommyettinger.textra
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.
ColorUtils - Class in com.github.tommyettinger.textra.utils
A few static methods for commonly-used color handling tasks.
ColorUtils() - Constructor for class com.github.tommyettinger.textra.utils.ColorUtils
 
com.github.tommyettinger.textra - package com.github.tommyettinger.textra
Contains the core of the library, such as the TypingLabel and Font classes.
com.github.tommyettinger.textra.effects - package com.github.tommyettinger.textra.effects
Contains the various effects that can be applied to text in a TypingLabel.
com.github.tommyettinger.textra.utils - package com.github.tommyettinger.textra.utils
Contains miscellaneous support code; currently this covers 1D noise and color editing.
connected - Variable in class com.github.tommyettinger.textra.Font.FontFamily
Stores this Font and up to 15 other connected Fonts that can be switched between using [@Name] syntax.
CrowdEffect - Class in com.github.tommyettinger.textra.effects
Rotates each glyph slightly back and forth, each one independently.
CrowdEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.CrowdEffect
 

D

DEFAULT_CLEAR_COLOR - Static variable in class com.github.tommyettinger.textra.TypingConfig
Default color for the CLEARCOLOR token.
DEFAULT_SPEED_PER_CHAR - Static variable in class com.github.tommyettinger.textra.TypingConfig
Time in seconds that takes for each char to appear in the default speed.
DEFAULT_WAIT_VALUE - Static variable in class com.github.tommyettinger.textra.TypingConfig
Default time in seconds that an empty WAIT token should wait for.
defaultValue - Variable in class com.github.tommyettinger.textra.Font
Which GlyphRegion to display if a char isn't found in Font.mapping.
dispose() - Method in class com.github.tommyettinger.textra.Font
Releases all resources of this object.
dispose() - Method in class com.github.tommyettinger.textra.KnownFonts
 
distance - Variable in class com.github.tommyettinger.textra.effects.SickEffect
 
distanceField - Variable in class com.github.tommyettinger.textra.Font
A Font.DistanceFieldType that should be Font.DistanceFieldType.STANDARD for most fonts, and can be Font.DistanceFieldType.SDF or Font.DistanceFieldType.MSDF if you know you have a font made to be used with one of those rendering techniques.
distanceFieldCrispness - Variable in class com.github.tommyettinger.textra.Font
When Font.distanceField is Font.DistanceFieldType.SDF or Font.DistanceFieldType.MSDF, this determines how much the edges of the glyphs should be aliased sharply (higher values) or anti-aliased softly (lower values).
dragging - Variable in class com.github.tommyettinger.textra.TextraWindow
 
draw(Batch, float) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
draw(Batch, float) - Method in class com.github.tommyettinger.textra.TextraButton
 
draw(Batch, float) - Method in class com.github.tommyettinger.textra.TextraCheckBox
 
draw(Batch, float) - Method in class com.github.tommyettinger.textra.TextraLabel
 
draw(Batch, float) - Method in class com.github.tommyettinger.textra.TextraWindow
 
draw(Batch, float) - Method in class com.github.tommyettinger.textra.TypingLabel
If your font uses Font.DistanceFieldType.SDF or Font.DistanceFieldType.MSDF, then this has to do some extra work to use the appropriate shader.
drawBackground(Batch, float, float, float) - Method in class com.github.tommyettinger.textra.TextraWindow
 
drawBlocks(Batch, int[][], float, float) - Method in class com.github.tommyettinger.textra.Font
Draws a grid made of rectangular blocks of int colors (typically RGBA) at the given x,y position in world space.
drawBlocks(Batch, char, int[][], float, float) - Method in class com.github.tommyettinger.textra.Font
Draws a grid made of rectangular blocks of int colors (typically RGBA) at the given x,y position in world space.
drawBlockSequence(Batch, float[], TextureRegion, float, float, float) - Method in class com.github.tommyettinger.textra.Font
An internal method that draws blocks in a sequence specified by a float[], with the block usually Font.solidBlock (but not always).
drawBlockSequence(Batch, float[], TextureRegion, float, float, float, float, float) - Method in class com.github.tommyettinger.textra.Font
An internal method that draws blocks in a sequence specified by a float[], with the block usually Font.solidBlock (but not always).
drawBlockSequence(Batch, float[], TextureRegion, float, float, float, float, float, float) - Method in class com.github.tommyettinger.textra.Font
An internal method that draws blocks in a sequence specified by a float[], with the block usually Font.solidBlock (but not always).
drawGlyph(Batch, long, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified glyph with a Batch at the given x, y position.
drawGlyph(Batch, long, float, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified glyph with a Batch at the given x, y position and with the specified counterclockwise rotation, measured in degrees.
drawGlyph(Batch, long, float, float, float, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified glyph with a Batch at the given x, y position, with the specified counterclockwise rotation, measured in degrees, and with the specified x and y sizing/scaling, which are meant to be treated independently of the incremental scales in a glyph, and can be smooth.
drawGlyphs(Batch, Layout, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified Layout of glyphs with a Batch at a given x, y position, drawing the full layout.
drawGlyphs(Batch, Layout, float, float, int) - Method in class com.github.tommyettinger.textra.Font
Draws the specified Layout of glyphs with a Batch at a given x, y position, using align to determine how to position the text.
drawGlyphs(Batch, Layout, float, float, int, float, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified Layout of glyphs with a Batch at a given x, y position, rotated using dedegrees around the given origin point, using align to determine how to position the text.
drawGlyphs(Batch, Line, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified Line of glyphs with a Batch at a given x, y position, drawing the full Line using left alignment.
drawGlyphs(Batch, Line, float, float, int) - Method in class com.github.tommyettinger.textra.Font
Draws the specified Line of glyphs with a Batch at a given x, y position, using align to determine how to position the text.
drawGlyphs(Batch, Line, float, float, int, float, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified Line of glyphs with a Batch at a given x, y position, rotated using degrees around the given origin point, using align to determine how to position the text.
drawMarkupText(Batch, String, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified text at the given x,y position (in world space), parsing an extension of libGDX markup and using it to determine color, size, position, shape, strikethrough, underline, case, and scale of the given CharSequence.
drawStageBackground(Batch, float, float, float, float, float) - Method in class com.github.tommyettinger.textra.TextraWindow
 
drawText(Batch, CharSequence, float, float) - Method in class com.github.tommyettinger.textra.Font
Draws the specified text at the given x,y position (in world space) with a white foreground.
drawText(Batch, CharSequence, float, float, int) - Method in class com.github.tommyettinger.textra.Font
Draws the specified text at the given x,y position (in world space) with the given foreground color.
duration - Variable in class com.github.tommyettinger.textra.Effect
 

E

EaseEffect - Class in com.github.tommyettinger.textra.effects
Moves the text vertically easing it into the final position.
EaseEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.EaseEffect
 
edge - Variable in class com.github.tommyettinger.textra.TextraWindow
 
Effect - Class in com.github.tommyettinger.textra
Abstract text effect.
Effect(TypingLabel) - Constructor for class com.github.tommyettinger.textra.Effect
 
ellipsis - Variable in class com.github.tommyettinger.textra.Layout
 
EmergeEffect - Class in com.github.tommyettinger.textra.effects
Stretches the text vertically from the baseline up to its full height.
EmergeEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.EmergeEffect
 
enableShader(Batch) - Method in class com.github.tommyettinger.textra.Font
Must be called before drawing anything with an SDF or MSDF font; does not need to be called for other fonts unless you are mixing them with SDF/MSDF fonts or other shaders.
end() - Method in class com.github.tommyettinger.textra.TypingAdapter
 
end() - Method in interface com.github.tommyettinger.textra.TypingListener
Called when the char progression reaches the end.
enter(InputEvent, float, float, int, Actor) - Method in class com.github.tommyettinger.textra.TypingTooltip
 
event(String) - Method in class com.github.tommyettinger.textra.TypingAdapter
 
event(String) - Method in interface com.github.tommyettinger.textra.TypingListener
Called each time an EVENT token is processed.
extractChar(long) - Static method in class com.github.tommyettinger.textra.Font
Given a glyph as a long, this returns the char it displays.
extractColor(long) - Static method in class com.github.tommyettinger.textra.Font
Given a glyph as a long, this returns the RGBA8888 color it uses.
extractScale(long) - Static method in class com.github.tommyettinger.textra.Font
Given a glyph as a long, this returns the float multiplier it uses for scale.
extractStyle(long) - Static method in class com.github.tommyettinger.textra.Font
Given a glyph as a long, this returns the style bits it uses.

F

FadeEffect - Class in com.github.tommyettinger.textra.effects
Fades the text's color from between colors or alphas.
FadeEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.FadeEffect
 
family - Variable in class com.github.tommyettinger.textra.Font
If non-null, may contain connected Font values and names/aliases to look them up with using [@Name] syntax.
fitCell(float, float, boolean) - Method in class com.github.tommyettinger.textra.Font
Fits all chars into cells width by height in size, and optionally centers them in their cells.
flip(boolean, boolean) - Method in class com.github.tommyettinger.textra.Font.GlyphRegion
Flips the region, adjusting the offset so the image appears to be flipped as if no whitespace has been removed for packing.
Font - Class in com.github.tommyettinger.textra
A replacement for libGDX's BitmapFont class, supporting additional markup to allow styling text with various effects.
Font(String) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a Font by reading in the given .fnt file and loading any images it specifies.
Font(String, Font.DistanceFieldType) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a Font by reading in the given .fnt file and loading any images it specifies.
Font(String, String) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a Font by reading in the given .fnt file and the given Texture by filename.
Font(String, String, Font.DistanceFieldType) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a Font by reading in the given .fnt file and the given Texture by filename.
Font(Font) - Constructor for class com.github.tommyettinger.textra.Font
Copy constructor; does not copy the font's Font.shader or Font.colorLookup, if it has them (it uses the same reference for the new Font), but will fully copy everything else.
Font(String, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font by reading in a .fnt file with the given name (an internal handle is tried first, then a local handle) and loading any images specified in that file.
Font(String, Font.DistanceFieldType, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font by reading in a .fnt file with the given name (an internal handle is tried first, then a local handle) and loading any images specified in that file.
Font(String, Font.DistanceFieldType, float, float, float, float, boolean) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font by reading in a .fnt file with the given name (an internal handle is tried first, then a local handle) and loading any images specified in that file.
Font(String, String, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font by reading in a Texture from the given named path (internal is tried, then local), and no distance field effect.
Font(String, String, Font.DistanceFieldType, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font by reading in a Texture from the given named path (internal is tried, then local), and the specified distance field effect.
Font(String, String, Font.DistanceFieldType, float, float, float, float, boolean) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font by reading in a Texture from the given named path (internal is tried, then local), and the specified distance field effect.
Font(String, TextureRegion, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a font using the given TextureRegion that holds all of its glyphs, with no distance field effect.
Font(String, TextureRegion, Font.DistanceFieldType, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a font based off of an AngelCode BMFont .fnt file and the given TextureRegion that holds all of its glyphs, with the specified distance field effect.
Font(String, TextureRegion, Font.DistanceFieldType, float, float, float, float, boolean) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a font based off of an AngelCode BMFont .fnt file and the given TextureRegion that holds all of its glyphs, with the specified distance field effect.
Font(String, Array<TextureRegion>, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a font based off of an AngelCode BMFont .fnt file and the given TextureRegion Array, with no distance field effect.
Font(String, Array<TextureRegion>, Font.DistanceFieldType, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a font based off of an AngelCode BMFont .fnt file, with the given TextureRegion Array and specified distance field effect.
Font(String, Array<TextureRegion>, Font.DistanceFieldType, float, float, float, float, boolean) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a font based off of an AngelCode BMFont .fnt file, with the given TextureRegion Array and specified distance field effect.
Font(BitmapFont) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font from the existing BitmapFont, using its same Textures and TextureRegions for glyphs, and without a distance field effect or any adjustments to position.
Font(BitmapFont, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font from the existing BitmapFont, using its same Textures and TextureRegions for glyphs, and without a distance field effect.
Font(BitmapFont, Font.DistanceFieldType, float, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font from the existing BitmapFont, using its same Textures and TextureRegions for glyphs, and with the specified distance field effect.
Font(BitmapFont, Font.DistanceFieldType, float, float, float, float, boolean) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font from the existing BitmapFont, using its same Textures and TextureRegions for glyphs, and with the specified distance field effect.
Font(String, boolean) - Constructor for class com.github.tommyettinger.textra.Font
Constructs a new Font by reading in a SadConsole .font file with the given name (an internal handle is tried first, then a local handle) and loading any images specified in that file.
font - Variable in class com.github.tommyettinger.textra.Layout
 
font(Font) - Method in class com.github.tommyettinger.textra.Layout
One of the ways to set the font on a Layout; this one returns this Layout for chaining.
font - Variable in class com.github.tommyettinger.textra.TextraLabel
 
font - Variable in class com.github.tommyettinger.textra.TextraWindow
 
Font.DistanceFieldType - Enum in com.github.tommyettinger.textra
Defines what types of distance field font this can use and render.
Font.FontFamily - Class in com.github.tommyettinger.textra
Holds up to 16 Font values, accessible by index or by name, that markup can switch between while rendering.
Font.GlyphRegion - Class in com.github.tommyettinger.textra
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.
fontAliases - Variable in class com.github.tommyettinger.textra.Font.FontFamily
Stores the names of Fonts (or aliases for those Fonts) as keys, mapped to ints between 0 and 15 inclusive.
FontFamily() - Constructor for class com.github.tommyettinger.textra.Font.FontFamily
Creates a FontFamily that only allows staying on the same font, unless later configured otherwise.
FontFamily(Font[]) - Constructor for class com.github.tommyettinger.textra.Font.FontFamily
Creates a FontFamily given an array of Font values, using the Font.name of each Font as its alias.
FontFamily(Font[], int, int) - Constructor for class com.github.tommyettinger.textra.Font.FontFamily
Creates a FontFamily given an array of Font values that and offset/length values for those arrays (allowing Array to sometimes be used to get the items for fonts).
FontFamily(String[], Font[]) - Constructor for class com.github.tommyettinger.textra.Font.FontFamily
Creates a FontFamily given an array of String names and a (almost-always same-sized) array of Font values that those names will refer to.
FontFamily(String[], Font[], int, int) - Constructor for class com.github.tommyettinger.textra.Font.FontFamily
Creates a FontFamily given an array of String names, a (almost-always same-sized) array of Font values that those names will refer to, and offset/length values for those arrays (allowing Array to sometimes be used to get the items for aliases and fonts).
FontFamily(OrderedMap<String, Font>) - Constructor for class com.github.tommyettinger.textra.Font.FontFamily
Constructs a FontFamily given an OrderedMap of String keys (names of Fonts) to Font values (the Fonts that can be switched between).
FontFamily(Font.FontFamily) - Constructor for class com.github.tommyettinger.textra.Font.FontFamily
Copy constructor for another FontFamily.

G

get(String) - Method in class com.github.tommyettinger.textra.Font.FontFamily
Gets the corresponding Font for a name/alias, or null if it was not found.
getAlignment() - Method in class com.github.tommyettinger.textra.TextraLabel
Gets the alignment for the text in this TextraLabel.
getAll() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a new array of Font instances, calling each getXyz() method in this class that returns any Font.
getAllMSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a new array of Font instances, calling each getXyz() method in this class that returns any MSDF Font.
getAllSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a new array of Font instances, calling each getXyz() method in this class that returns any SDF Font.
getAllStandard() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a new array of Font instances, calling each getXyz() method in this class that returns any non-distance-field Font.
getAStarry() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a very large fixed-width Font already configured to use a square font with 45-degree angled sections, based on the typeface used on the Atari ST console.
getAStarryMSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a square font with 45-degree angled sections, based on the typeface used on the Atari ST console, that should scale cleanly to many sizes.
getBaseColor() - Method in class com.github.tommyettinger.textra.Layout
Gets the base color of the Layout, as the float bits of a Color.
getBitter() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a light-weight variable-width slab serif font with good Latin and Cyrillic script support, that should scale pretty well from a height of about 160 down to a height of maybe 30.
getButtonTable() - Method in class com.github.tommyettinger.textra.TextraDialog
 
getButtonTable() - Method in class com.github.tommyettinger.textra.TypingDialog
 
getCanada() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a very-legible variable-width font with strong support for Canadian Aboriginal Syllabic, that should scale pretty well from a height of about 86 down to a height of maybe 30.
getCascadiaMono() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a quirky fixed-width font with good Unicode support and a humanist style, that should scale cleanly to even very large sizes (using an MSDF technique).
getClearColor() - Method in class com.github.tommyettinger.textra.TypingLabel
Returns a Color instance with the color to be used on CLEARCOLOR tokens.
getColorLookup() - Method in class com.github.tommyettinger.textra.Font
Gets the ColorLookup this uses to look up colors by name.
getContentTable() - Method in class com.github.tommyettinger.textra.TextraDialog
 
getContentTable() - Method in class com.github.tommyettinger.textra.TypingDialog
 
getCozette() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font configured to use a cozy fixed-width bitmap font, Cozette by slavfox.
getCrispness() - Method in class com.github.tommyettinger.textra.Font
Gets the "crispness" multiplier for distance field fonts (SDF and MSDF).
getDefaultToken() - Method in class com.github.tommyettinger.textra.TypingLabel
Returns the default token being used in this label.
getDejaVuSansMono() - Static method in class com.github.tommyettinger.textra.KnownFonts
A nice old standby font with very broad language support, DejaVu Sans Mono is fixed-width and can be clearly readable but doesn't do anything unusual stylistically.
getEllipsis() - Method in class com.github.tommyettinger.textra.Layout
Gets the ellipsis, which may be null, or may be a String that can be placed at the end of the text if its max lines are exceeded.
getFont() - Method in class com.github.tommyettinger.textra.Layout
 
getFontColor() - Method in class com.github.tommyettinger.textra.ImageTextraButton
Returns the appropriate label font color from the style based on the current button state.
getFontColor() - Method in class com.github.tommyettinger.textra.TextraButton
Returns the appropriate label font color from the style based on the current button state.
getFromIntermediate(int) - Method in class com.github.tommyettinger.textra.TypingLabel
 
getGentium() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a variable-width serif font with excellent Unicode support, that should scale well from a height of about 132 down to a height of 34.
getGentiumSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a variable-width serif font with excellent Unicode support, that should scale cleanly to even very large sizes (using an SDF technique).
getHanazono() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a variable-width, narrow font with nearly-complete CJK character coverage, plus Latin, Greek, and Cyrillic, that shouldm scale pretty well down, but not up.
getHeight() - Method in class com.github.tommyettinger.textra.Layout
 
getIBM8x16() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font configured to use a classic, nostalgic fixed-width bitmap font, IBM 8x16 from the early, oft-beloved computer line.
getImage() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
getImage() - Method in class com.github.tommyettinger.textra.TextraCheckBox
 
getImageCell() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
getImageCell() - Method in class com.github.tommyettinger.textra.TextraCheckBox
 
getImageDrawable() - Method in class com.github.tommyettinger.textra.ImageTextraButton
Returns the appropriate image drawable from the style based on the current button state.
getInconsolata() - Static method in class com.github.tommyettinger.textra.KnownFonts
A customized version of Inconsolata LGC, a fixed-width geometric font that supports a large range of Latin, Greek, and Cyrillic glyphs, plus box drawing and some dingbat characters (like zodiac signs).
getInconsolataMSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
A customized version of Inconsolata LGC, a fixed-width geometric font that supports a large range of Latin, Greek, and Cyrillic glyphs, plus box drawing and some dingbat characters (like zodiac signs).
getInLayout(Layout, int) - Method in class com.github.tommyettinger.textra.TypingLabel
 
getIntermediateText() - Method in class com.github.tommyettinger.textra.TypingLabel
 
getIosevka() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a highly-legible fixed-width font with good Unicode support and a sans-serif geometric style.
getIosevkaMSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a highly-legible fixed-width font with good Unicode support and a sans-serif geometric style, that should scale cleanly to even very large sizes (using an MSDF technique).
getIosevkaSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a highly-legible fixed-width font with good Unicode support and a sans-serif geometric style, that should scale cleanly to fairly large sizes (using an SDF technique).
getIosevkaSlab() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a highly-legible fixed-width font with good Unicode support and a slab-serif geometric style.
getIosevkaSlabMSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a highly-legible fixed-width font with good Unicode support and a slab-serif geometric style, that should scale cleanly to even very large sizes (using an MSDF technique).
getIosevkaSlabSDF() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a highly-legible fixed-width font with good Unicode support and a slab-serif geometric style, that should scale cleanly to fairly large sizes (using an SDF technique).
getKingthingsFoundation() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a fairly-legible variable-width ornamental/medieval font, that should scale pretty well from a height of about 90 down to a height of maybe 30.
getLabel() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
getLabelCell() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
getLibertinusSerif() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a variable-width serif font with good Unicode support, that should scale cleanly to even very large sizes (using an MSDF technique).
getLine(int) - Method in class com.github.tommyettinger.textra.Layout
Gets a Line from this by its index.
getLineHeight(int) - Method in class com.github.tommyettinger.textra.TypingLabel
 
getLineInLayout(Layout, int) - Method in class com.github.tommyettinger.textra.TypingLabel
 
getMaxLines() - Method in class com.github.tommyettinger.textra.Layout
The maximum number of Lines this Layout can contain.
getName() - Method in class com.github.tommyettinger.textra.Font
 
getOpenSans() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font configured to use a clean variable-width font, Open Sans.
getOriginalText() - Method in class com.github.tommyettinger.textra.TypingLabel
Similar to Layout.toString(), but returns the original text with all the tokens unchanged.
getOxanium() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a variable-width "science-fiction/high-tech" font, that should scale pretty well down, but not up.
getPrefHeight() - Method in class com.github.tommyettinger.textra.TextraLabel
 
getPrefWidth() - Method in class com.github.tommyettinger.textra.TextraLabel
 
getPrefWidth() - Method in class com.github.tommyettinger.textra.TextraWindow
 
getRgba(String) - Method in class com.github.tommyettinger.textra.ColorLookup.GdxColorLookup
 
getRgba(String) - Method in interface com.github.tommyettinger.textra.ColorLookup
Uses key to look up an RGBA8888 color, and returns that color as an int if one was found, or returns 256 if none was found.
getRobotoCondensed() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a very-legible condensed variable-width font with excellent Unicode support, that should scale pretty well from a height of about 62 down to a height of maybe 20.
getStandardFamily() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font (KnownFonts.getGentium()) with a FontFamily configured so that all non-distance-field Fonts can be used with syntax like [@Sans].
getStyle() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
getStyle() - Method in class com.github.tommyettinger.textra.TextraButton
 
getStyle() - Method in class com.github.tommyettinger.textra.TextraCheckBox
Returns the checkbox's style.
getStyle() - Method in class com.github.tommyettinger.textra.TextraWindow
Returns the window's style.
getTargetWidth() - Method in class com.github.tommyettinger.textra.Layout
 
getText() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
getText() - Method in class com.github.tommyettinger.textra.TextraButton
 
getTextraLabel() - Method in class com.github.tommyettinger.textra.TextraButton
 
getTextraLabelCell() - Method in class com.github.tommyettinger.textra.TextraButton
 
getTitleLabel() - Method in class com.github.tommyettinger.textra.TextraWindow
 
getTitleTable() - Method in class com.github.tommyettinger.textra.TextraWindow
 
getTypingListener() - Method in class com.github.tommyettinger.textra.TypingLabel
Returns the TypingListener associated with this label.
getVariables() - Method in class com.github.tommyettinger.textra.TypingLabel
Returns an ObjectMap with all the variable names and their respective replacement values.
getWidth() - Method in class com.github.tommyettinger.textra.Layout
 
getYanoneKaffeesatz() - Static method in class com.github.tommyettinger.textra.KnownFonts
Returns a Font already configured to use a variable-width, narrow, humanist font, that should scale pretty well down, but not up.
GLOBAL_VARS - Static variable in class com.github.tommyettinger.textra.TypingConfig
Map of global variables that affect all TypingLabel instances at once.
GlyphRegion(TextureRegion) - Constructor for class com.github.tommyettinger.textra.Font.GlyphRegion
Creates a GlyphRegion from a parent TextureRegion (typically from an atlas).
GlyphRegion(TextureAtlas.AtlasRegion) - Constructor for class com.github.tommyettinger.textra.Font.GlyphRegion
Creates a GlyphRegion from a parent TextureAtlas.AtlasRegion (almost always from an atlas).
GlyphRegion(TextureRegion, float, float, float) - Constructor for class com.github.tommyettinger.textra.Font.GlyphRegion
Creates a GlyphRegion from a parent TextureRegion (typically from an atlas), along with any offsets to use for its x and y coordinates, and the amount of horizontal space to move over when this is drawn.
GlyphRegion(TextureRegion, int, int, int, int) - Constructor for class com.github.tommyettinger.textra.Font.GlyphRegion
Creates a GlyphRegion from a parent TextureRegion (typically from an atlas), along with the lower-left x and y coordinates, the width, and the height of the GlyphRegion.
GlyphRegion(Font.GlyphRegion) - Constructor for class com.github.tommyettinger.textra.Font.GlyphRegion
Copies another GlyphRegion.
glyphs - Variable in class com.github.tommyettinger.textra.Line
 
GradientEffect - Class in com.github.tommyettinger.textra.effects
Tints the text in a gradient pattern.
GradientEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.GradientEffect
 

H

handleIntegerPosition(float) - Method in class com.github.tommyettinger.textra.Font
 
HangEffect - Class in com.github.tommyettinger.textra.effects
Hangs the text in midair and suddenly drops it.
HangEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.HangEffect
 
hasEnded() - Method in class com.github.tommyettinger.textra.TypingLabel
Returns whether or not this label's char progression has ended.
HeartbeatEffect - Class in com.github.tommyettinger.textra.effects
Makes the text jumps and falls as if there was gravity.
HeartbeatEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.HeartbeatEffect
 
height - Variable in class com.github.tommyettinger.textra.Line
 
hide(Action) - Method in class com.github.tommyettinger.textra.TextraDialog
Removes the dialog from the stage, restoring the previous keyboard and scroll focus, and adds the specified action to the dialog.
hide() - Method in class com.github.tommyettinger.textra.TextraDialog
Hides the dialog.
hide(Action) - Method in class com.github.tommyettinger.textra.TypingDialog
Removes the dialog from the stage, restoring the previous keyboard and scroll focus, and adds the specified action to the dialog.
hide() - Method in class com.github.tommyettinger.textra.TypingDialog
Hides the dialog.
hit(float, float, boolean) - Method in class com.github.tommyettinger.textra.TextraWindow
 
hsb2rgb(float, float, float, float) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Converts the four HSBA/HSVA components, each in the 0.0 to 1.0 range, to an int in RGBA8888 format.
hsl2rgb(float, float, float, float) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Converts the four HSLA components, each in the 0.0 to 1.0 range, to an int in RGBA8888 format.

I

ignoreTouchDown - Variable in class com.github.tommyettinger.textra.TextraDialog
 
ignoreTouchDown - Variable in class com.github.tommyettinger.textra.TypingDialog
 
ImageTextraButton - Class in com.github.tommyettinger.textra
A button with a child Image and TextraLabel.
ImageTextraButton(String, Skin) - Constructor for class com.github.tommyettinger.textra.ImageTextraButton
 
ImageTextraButton(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.ImageTextraButton
 
ImageTextraButton(String, ImageTextButton.ImageTextButtonStyle) - Constructor for class com.github.tommyettinger.textra.ImageTextraButton
 
ImageTextraButton(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.ImageTextraButton
 
ImageTextraButton(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.ImageTextraButton
 
ImageTextraButton(String, ImageTextButton.ImageTextButtonStyle, Font) - Constructor for class com.github.tommyettinger.textra.ImageTextraButton
 
ImageTypingButton - Class in com.github.tommyettinger.textra
A button with a child Image and TypingLabel.
ImageTypingButton(String, Skin) - Constructor for class com.github.tommyettinger.textra.ImageTypingButton
 
ImageTypingButton(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.ImageTypingButton
 
ImageTypingButton(String, ImageTextButton.ImageTextButtonStyle) - Constructor for class com.github.tommyettinger.textra.ImageTypingButton
 
ImageTypingButton(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.ImageTypingButton
 
ImageTypingButton(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.ImageTypingButton
 
ImageTypingButton(String, ImageTextButton.ImageTextButtonStyle, Font) - Constructor for class com.github.tommyettinger.textra.ImageTypingButton
 
indexEnd - Variable in class com.github.tommyettinger.textra.Effect
 
indexStart - Variable in class com.github.tommyettinger.textra.Effect
 
insertLine(int) - Method in class com.github.tommyettinger.textra.Layout
 
INSTANCE - Static variable in class com.github.tommyettinger.textra.ColorLookup.GdxColorLookup
The only way to access a GdxColorLookup.
INSTANCE - Static variable in interface com.github.tommyettinger.textra.ColorLookup
The default ColorLookup, this simply looks up key in Colors.
integerPosition - Variable in class com.github.tommyettinger.textra.Font
If true, this will always use integers for x and y position (rounding), which can help some fonts look more clear.
intensity - Variable in class com.github.tommyettinger.textra.effects.SickEffect
 
INTERVAL_MULTIPLIERS_BY_CHAR - Static variable in class com.github.tommyettinger.textra.TypingConfig
Returns a map of characters and their respective interval multipliers, of which the interval to the next char should be multiplied for.
intFromDec(CharSequence, int, int) - Static method in class com.github.tommyettinger.textra.Font
Reads in a CharSequence containing only decimal digits (0-9) with an optional sign at the start and returns the int they represent, reading at most 10 characters (11 if there is a sign) and returning the result if valid, or 0 if nothing could be read.
intFromHex(CharSequence, int, int) - Static method in class com.github.tommyettinger.textra.Font
Reads in a CharSequence containing only hex digits (only 0-9, a-f, and A-F) with an optional sign at the start and returns the long they represent, reading at most 16 characters (17 if there is a sign) and returning the result if valid, or 0 if nothing could be read.
isBlockGlyph(int) - Static method in class com.github.tommyettinger.textra.utils.BlockUtils
Returns true if the given char can be handled by the box drawing and block element data here, or false if the Font should try to handle that char itself.
isDragging() - Method in class com.github.tommyettinger.textra.TextraWindow
 
isFinished() - Method in class com.github.tommyettinger.textra.Effect
Returns whether or not this effect is finished and should be removed.
isLowerCase(char) - Static method in class com.github.tommyettinger.textra.Font
Returns true if c is a lower-case letter, or false otherwise.
isModal() - Method in class com.github.tommyettinger.textra.TextraWindow
 
isMono - Variable in class com.github.tommyettinger.textra.Font
If true, this is a fixed-width (monospace) font; if false, this is probably a variable-width font.
isMovable() - Method in class com.github.tommyettinger.textra.TextraWindow
 
isPaused() - Method in class com.github.tommyettinger.textra.TypingLabel
Returns whether or not this label is paused.
isResizable() - Method in class com.github.tommyettinger.textra.TextraWindow
 
isSkipping() - Method in class com.github.tommyettinger.textra.TypingLabel
Returns whether or not this label is currently skipping its typing progression all the way to the end.
isUpperCase(char) - Static method in class com.github.tommyettinger.textra.Font
Returns true if c is an upper-case letter, or false otherwise.
isWrap() - Method in class com.github.tommyettinger.textra.TextraLabel
Gets the current wrapping mode.

J

JoltEffect - Class in com.github.tommyettinger.textra.effects
Randomly selects and shakes individual characters in the text.
JoltEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.JoltEffect
 
JumpEffect - Class in com.github.tommyettinger.textra.effects
Makes the text jumps and falls as if there was gravity.
JumpEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.JumpEffect
 

K

keepWithinStage() - Method in class com.github.tommyettinger.textra.TextraWindow
 
kerning - Variable in class com.github.tommyettinger.textra.Font
Unlikely to be used externally, this is one way of storing the kerning information that some fonts have.
kerningPair(char, char) - Method in class com.github.tommyettinger.textra.Font
Assembles two chars into a kerning pair that can be looked up as a key in Font.kerning.
key(int, Object) - Method in class com.github.tommyettinger.textra.TextraDialog
If this key is pressed, TextraDialog.result(Object) is called with the specified object.
key(int, Object) - Method in class com.github.tommyettinger.textra.TypingDialog
If this key is pressed, TypingDialog.result(Object) is called with the specified object.
KnownFonts - Class in com.github.tommyettinger.textra
Preconfigured static Font instances, with any important metric adjustments already applied.

L

label - Variable in class com.github.tommyettinger.textra.Effect
 
Layout - Class in com.github.tommyettinger.textra
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).
Layout() - Constructor for class com.github.tommyettinger.textra.Layout
 
Layout(Font) - Constructor for class com.github.tommyettinger.textra.Layout
 
layout - Variable in class com.github.tommyettinger.textra.TextraLabel
 
layout() - Method in class com.github.tommyettinger.textra.TextraLabel
 
layout() - Method in class com.github.tommyettinger.textra.TypingLabel
 
lerpColors(int, int, float) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Interpolates from the RGBA8888 int color start towards end by change.
Line - Class in com.github.tommyettinger.textra
One line of possibly-colorful, possibly-styled text, with a width and height set by Font.markup(String, Layout) on Lines in a Layout.
Line() - Constructor for class com.github.tommyettinger.textra.Line
 
Line(int) - Constructor for class com.github.tommyettinger.textra.Line
 
lines - Variable in class com.github.tommyettinger.textra.Layout
 
lines() - Method in class com.github.tommyettinger.textra.Layout
 
loadFNT(String, float, float, float, float, boolean) - Method in class com.github.tommyettinger.textra.Font
The gritty parsing code that pulls relevant info from an AngelCode BMFont .fnt file and uses it to assemble the many Font.GlyphRegions this has for each glyph.
loadSad(String) - Method in class com.github.tommyettinger.textra.Font
The parsing code that pulls relevant info from a SadConsole .font configuration file and uses it to assemble the many Font.GlyphRegions this has for each glyph.
longFromHex(CharSequence, int, int) - Static method in class com.github.tommyettinger.textra.Font
Reads in a CharSequence containing only hex digits (only 0-9, a-f, and A-F) with an optional sign at the start and returns the long they represent, reading at most 16 characters (17 if there is a sign) and returning the result if valid, or 0 if nothing could be read.

M

mapping - Variable in class com.github.tommyettinger.textra.Font
Maps char keys (stored as ints) to their corresponding Font.GlyphRegion values.
markup(String, Layout) - Method in class com.github.tommyettinger.textra.Font
Reads markup from text, along with the chars to receive markup, processes it, and appends into appendTo, which is a Layout holding one or more Lines.
markupGlyph(char, String) - Method in class com.github.tommyettinger.textra.Font
Reads markup from markup, processes it, and applies it to the given char chr; returns a long in the format used for styled glyphs here.
markupGlyph(char, String, ColorLookup) - Static method in class com.github.tommyettinger.textra.Font
Reads markup from markup, processes it, and applies it to the given char chr; returns a long in the format used for styled glyphs here.
markupGlyph(char, String, ColorLookup, Font.FontFamily) - Static method in class com.github.tommyettinger.textra.Font
Reads markup from markup, processes it, and applies it to the given char chr; returns a long in the format used for styled glyphs here.
MAX_SPEED_MODIFIER - Static variable in class com.github.tommyettinger.textra.TypingConfig
Maximum value for the SPEED token.
maxLines - Variable in class com.github.tommyettinger.textra.Layout
 
measureWidth(Line) - Method in class com.github.tommyettinger.textra.Font
Measures the actual width that the given Line will use when drawn.
MIDSCRIPT - Static variable in class com.github.tommyettinger.textra.Font
Bit flag for midscript mode, as a long.
MIN_SPEED_MODIFIER - Static variable in class com.github.tommyettinger.textra.TypingConfig
Minimum value for the SPEED token.
msdfFragmentShader - Static variable in class com.github.tommyettinger.textra.Font
Fragment shader source meant for MSDF fonts.
multiplyAllAlpha(int[][], float) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Given any purely-non-null 2D int array representing RGBA or HSLA colors, this multiplies the alpha channel of each color by multiplier, modifying the given array, and returns the changed array for chaining.
multiplyAlpha(int, float) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Given an RGBA8888 or HSLA color as an int, this multiplies the alpha of that color by multiplier and returns another int color of the same format passed in.
multiplyCrispness(float) - Method in class com.github.tommyettinger.textra.Font
Takes the "crispness" multiplier for distance field fonts (SDF and MSDF) and multiplies it by another multiplier.

N

name - Variable in class com.github.tommyettinger.textra.Font
The name of the Font, for display purposes.
nameLookup - Variable in class com.github.tommyettinger.textra.Font
Optional; maps the names of TextureRegions to the indices they use in Font.mapping, and usually assigned by Font.addAtlas(TextureAtlas).
newImage() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
newImage() - Method in class com.github.tommyettinger.textra.TextraCheckBox
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.ImageTypingButton
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.ImageTypingButton
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TextraButton
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TextraButton
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TextraDialog
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TextraDialog
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TextraTooltip
 
newLabel(String, Font) - Method in class com.github.tommyettinger.textra.TextraTooltip
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TextraTooltip
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TextraWindow
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TextraWindow
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingButton
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingButton
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingCheckBox
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingCheckBox
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingDialog
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingDialog
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingTooltip
 
newLabel(String, Font) - Method in class com.github.tommyettinger.textra.TypingTooltip
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingTooltip
 
newLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingWindow
 
newLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingWindow
 
newTypingLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TextraDialog
 
newTypingLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TextraDialog
 
newTypingLabel(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingDialog
 
newTypingLabel(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingDialog
 
noise1D(float, int) - Static method in class com.github.tommyettinger.textra.utils.NoiseUtils
Quilez' 1D noise, with some changes to work on the CPU.
NoiseUtils - Class in com.github.tommyettinger.textra.utils
Some 1D noise methods to be used when an effect needs smooth but random changes.
NoiseUtils() - Constructor for class com.github.tommyettinger.textra.utils.NoiseUtils
 

O

OBLIQUE - Static variable in class com.github.tommyettinger.textra.Font
Bit flag for oblique mode, as a long.
octaveNoise1D(float, int) - Static method in class com.github.tommyettinger.textra.utils.NoiseUtils
Just gets two octaves of noise1D(float, int); still has a range of -1 to 1.
offsets - Variable in class com.github.tommyettinger.textra.TypingLabel
Contains two floats per glyph; even items are x offsets, odd items are y offsets.
offsetX - Variable in class com.github.tommyettinger.textra.Font.GlyphRegion
The offset from the left of the original image to the left of the packed image, after whitespace was removed for packing.
offsetY - Variable in class com.github.tommyettinger.textra.Font.GlyphRegion
The offset from the bottom of the original image to the bottom of the packed image, after whitespace was removed for packing.
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.Effect
Called when this effect should be applied to the given glyph.
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.BlinkEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.CarouselEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.CrowdEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.EaseEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.EmergeEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.FadeEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.GradientEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.HangEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.HeartbeatEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.JoltEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.JumpEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.RainbowEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.RotateEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.ScaleEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.ShakeEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.ShrinkEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.SickEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.SlideEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.SpinEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.SpiralEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.SquashEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.WaveEffect
 
onApply(long, int, int, float) - Method in class com.github.tommyettinger.textra.effects.WindEffect
 
onChar(long) - Method in class com.github.tommyettinger.textra.TypingAdapter
 
onChar(long) - Method in interface com.github.tommyettinger.textra.TypingListener
Called when a new character is displayed.
originalCellHeight - Variable in class com.github.tommyettinger.textra.Font
Refers to the largest height of any glyph in the font, before any scaling.
originalCellWidth - Variable in class com.github.tommyettinger.textra.Font
Only actually refers to a "cell" when Font.isMono is true; otherwise refers to the largest width of any glyph in the font, before any scaling.

P

paramAsBoolean(String) - Method in class com.github.tommyettinger.textra.Effect
Returns a boolean value parsed from the given String, or the default value if the string couldn't be parsed.
paramAsColor(String) - Method in class com.github.tommyettinger.textra.Effect
Parses a color from the given string.
paramAsFloat(String, float) - Method in class com.github.tommyettinger.textra.Effect
Returns a float value parsed from the given String, or the default value if the string couldn't be parsed.
parents - Variable in class com.github.tommyettinger.textra.Font
The larger TextureRegions that Font.GlyphRegion images are pulled from; these could be whole Textures or be drawn from a TextureAtlas that the font shares with other images.
parseTokens() - Method in class com.github.tommyettinger.textra.TypingLabel
Parses all tokens of this label.
pause() - Method in class com.github.tommyettinger.textra.KnownFonts
 
pause() - Method in class com.github.tommyettinger.textra.TypingLabel
Pauses this label's character progression.
peekLine() - Method in class com.github.tommyettinger.textra.Layout
 
POOL - Static variable in class com.github.tommyettinger.textra.Layout
 
POOL - Static variable in class com.github.tommyettinger.textra.Line
 
pushLine() - Method in class com.github.tommyettinger.textra.Layout
 

R

RainbowEffect - Class in com.github.tommyettinger.textra.effects
Tints the text in a rainbow pattern.
RainbowEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.RainbowEffect
 
regenerateLayout(Layout) - Method in class com.github.tommyettinger.textra.Font
 
registerEffect(String, String, Class<? extends Effect>) - Static method in class com.github.tommyettinger.textra.TypingConfig
Registers a new effect to TypingLabel.
remove() - Method in class com.github.tommyettinger.textra.TypingLabel
 
replaceVariable(String) - Method in class com.github.tommyettinger.textra.TypingAdapter
 
replaceVariable(String) - Method in interface com.github.tommyettinger.textra.TypingListener
Called when variable tokens are replaced in text.
reset() - Method in class com.github.tommyettinger.textra.Layout
Resets the object for reuse.
reset() - Method in class com.github.tommyettinger.textra.Line
Resets the object for reuse.
resizeDistanceField(int, int) - Method in class com.github.tommyettinger.textra.Font
Given the new width and height for a window, this attempts to adjust the Font.actualCrispness of an SDF or MSDF font so that it will display cleanly at a different size.
restart() - Method in class com.github.tommyettinger.textra.TypingLabel
Restarts this label with the original text and starts the char progression right away.
restart(String) - Method in class com.github.tommyettinger.textra.TypingLabel
Restarts this label with the given text and starts the char progression right away.
restoreOriginalText() - Method in class com.github.tommyettinger.textra.TypingLabel
Restores the original text with all tokens unchanged to this label.
result(Object) - Method in class com.github.tommyettinger.textra.TextraDialog
Called when a button is clicked.
result(Object) - Method in class com.github.tommyettinger.textra.TypingDialog
Called when a button is clicked.
resume() - Method in class com.github.tommyettinger.textra.KnownFonts
 
resume() - Method in class com.github.tommyettinger.textra.TypingLabel
Resumes this label's character progression.
rgb2hsb(float, float, float, float) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Converts the four RGBA components, each in the 0.0 to 1.0 range, to an int in HSBA/HSVA format (hue, saturation, brightness/value, alpha).
rgb2hsl(float, float, float, float) - Static method in class com.github.tommyettinger.textra.utils.ColorUtils
Converts the four RGBA components, each in the 0.0 to 1.0 range, to an int in HSLA format (hue, saturation, lightness, alpha).
RotateEffect - Class in com.github.tommyettinger.textra.effects
Permanently rotates text in-place for each cell.
RotateEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.RotateEffect
 
rotations - Variable in class com.github.tommyettinger.textra.TypingLabel
Contains one float per glyph; each is a rotation in degrees to apply to that glyph (around its center).

S

safeSubstring(String, int, int) - Static method in class com.github.tommyettinger.textra.Font
Like String.substring(int, int) but returns "" instead of throwing any sort of Exception.
saveOriginalText(CharSequence) - Method in class com.github.tommyettinger.textra.TypingLabel
Copies the content of TypingLabel.getOriginalText() to the StringBuilder containing the original text with all tokens unchanged.
scale(float, float) - Method in class com.github.tommyettinger.textra.Font
Scales the font by the given horizontal and vertical multipliers.
ScaleEffect - Class in com.github.tommyettinger.textra.effects
Permanently sets the size of text.
ScaleEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.ScaleEffect
 
scaleTo(float, float) - Method in class com.github.tommyettinger.textra.Font
Scales the font so that it will have the given width and height.
scaleX - Variable in class com.github.tommyettinger.textra.Font
Scale multiplier for width.
scaleY - Variable in class com.github.tommyettinger.textra.Font
Scale multiplier for height.
setAlignment(int) - Method in class com.github.tommyettinger.textra.TextraLabel
Sets the alignment for the text in this TextraLabel.
setBaseColor(float) - Method in class com.github.tommyettinger.textra.Layout
Sets the base color of the Layout; this is what font color will be used immediately after resetting formatting with [], as well as the initial color used by text that hasn't been formatted.
setBaseColor(Color) - Method in class com.github.tommyettinger.textra.Layout
Sets the base color of the Layout; this is what font color will be used immediately after resetting formatting with [], as well as the initial color used by text that hasn't been formatted.
setColorLookup(ColorLookup) - Method in class com.github.tommyettinger.textra.Font
Unlikely to be used in most games (meant more for other libraries), this allows changing how colors are looked up by name (or built) given a ColorLookup interface implementation.
setCrispness(float) - Method in class com.github.tommyettinger.textra.Font
Sets the "crispness" multiplier for distance field fonts (SDF and MSDF).
setDefaultToken(String) - Method in class com.github.tommyettinger.textra.TypingLabel
Sets the default token being used in this label.
setEllipsis(String) - Method in class com.github.tommyettinger.textra.Layout
Sets the ellipsis text, which replaces the last few glyphs if non-null and the text added would exceed the Layout.getMaxLines() of this Layout.
setFamily(Font.FontFamily) - Method in class com.github.tommyettinger.textra.Font
Sets the FontFamily this can use to switch fonts using [@Name] syntax.
setFont(Font) - Method in class com.github.tommyettinger.textra.Layout
One of the ways to set the font on a Layout; this is a traditional setter.
setInLayout(Layout, int, long) - Method in class com.github.tommyettinger.textra.TypingLabel
 
setIntermediateText(CharSequence, boolean, boolean) - Method in class com.github.tommyettinger.textra.TypingLabel
 
setInWorkingLayout(int, long) - Method in class com.github.tommyettinger.textra.TypingLabel
 
setKeepWithinStage(boolean) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setLabel(TextraLabel) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
setMaxLines(int) - Method in class com.github.tommyettinger.textra.Layout
Sets the maximum number of Lines this Layout can contain; this is always at least 1.
setModal(boolean) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setMovable(boolean) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setName(String) - Method in class com.github.tommyettinger.textra.Font
 
setObject(Actor, Object) - Method in class com.github.tommyettinger.textra.TextraDialog
 
setObject(Actor, Object) - Method in class com.github.tommyettinger.textra.TypingDialog
 
setResizable(boolean) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setResizeBorder(int) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setSize(float, float) - Method in class com.github.tommyettinger.textra.TextraLabel
 
setSize(float, float) - Method in class com.github.tommyettinger.textra.TypingLabel
 
setStage(Stage) - Method in class com.github.tommyettinger.textra.TextraDialog
 
setStage(Stage) - Method in class com.github.tommyettinger.textra.TypingDialog
 
setStyle(Button.ButtonStyle) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
setStyle(Button.ButtonStyle, boolean) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
setStyle(Button.ButtonStyle, Font) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
setStyle(Button.ButtonStyle) - Method in class com.github.tommyettinger.textra.TextraButton
 
setStyle(Button.ButtonStyle, boolean) - Method in class com.github.tommyettinger.textra.TextraButton
 
setStyle(Button.ButtonStyle, Font) - Method in class com.github.tommyettinger.textra.TextraButton
 
setStyle(Button.ButtonStyle) - Method in class com.github.tommyettinger.textra.TextraCheckBox
 
setStyle(Button.ButtonStyle, boolean) - Method in class com.github.tommyettinger.textra.TextraCheckBox
 
setStyle(Button.ButtonStyle, Font) - Method in class com.github.tommyettinger.textra.TextraCheckBox
 
setStyle(TextTooltip.TextTooltipStyle) - Method in class com.github.tommyettinger.textra.TextraTooltip
 
setStyle(TextTooltip.TextTooltipStyle, boolean) - Method in class com.github.tommyettinger.textra.TextraTooltip
 
setStyle(TextTooltip.TextTooltipStyle, Font) - Method in class com.github.tommyettinger.textra.TextraTooltip
 
setStyle(Window.WindowStyle) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setStyle(Window.WindowStyle, boolean) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setStyle(Window.WindowStyle, Font) - Method in class com.github.tommyettinger.textra.TextraWindow
 
setStyle(TextTooltip.TextTooltipStyle) - Method in class com.github.tommyettinger.textra.TypingTooltip
 
setStyle(TextTooltip.TextTooltipStyle, boolean) - Method in class com.github.tommyettinger.textra.TypingTooltip
 
setStyle(TextTooltip.TextTooltipStyle, Font) - Method in class com.github.tommyettinger.textra.TypingTooltip
 
setTargetWidth(float) - Method in class com.github.tommyettinger.textra.Layout
 
setText(CharSequence) - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
setText(String) - Method in class com.github.tommyettinger.textra.TextraButton
 
setText(String) - Method in class com.github.tommyettinger.textra.TextraLabel
Changes the text in this TextraLabel to the given String, parsing any markup in it.
setText(String) - Method in class com.github.tommyettinger.textra.TypingLabel
Modifies the text of this label.
setText(String, boolean) - Method in class com.github.tommyettinger.textra.TypingLabel
Sets the text of this label.
setText(String, boolean, boolean) - Method in class com.github.tommyettinger.textra.TypingLabel
Sets the text of this label.
setTextraLabel(TextraLabel) - Method in class com.github.tommyettinger.textra.TextraButton
 
setTextureFilter() - Method in class com.github.tommyettinger.textra.Font
Calls Font.setTextureFilter(Texture.TextureFilter, Texture.TextureFilter) with Texture.TextureFilter#Linear for both min and mag filters.
setTextureFilter(Texture.TextureFilter, Texture.TextureFilter) - Method in class com.github.tommyettinger.textra.Font
Sets the texture filters on each Texture that holds a TextureRegion used by the font to the given minFilter and magFilter.
setTypingListener(TypingListener) - Method in class com.github.tommyettinger.textra.TypingLabel
Sets the TypingListener associated with this label, or null to remove the current one.
setVariable(String, String) - Method in class com.github.tommyettinger.textra.TypingLabel
Registers a variable and its respective replacement value to this label.
setVariables(ObjectMap<String, String>) - Method in class com.github.tommyettinger.textra.TypingLabel
Registers a set of variables and their respective replacement values to this label.
setVariables(Map<String, String>) - Method in class com.github.tommyettinger.textra.TypingLabel
Registers a set of variables and their respective replacement values to this label.
setWrap(boolean) - Method in class com.github.tommyettinger.textra.TextraLabel
Sets the wrapping mode; if this changes the mode, then this invalidates the hierarchy.
shader - Variable in class com.github.tommyettinger.textra.Font
The ShaderProgram used to render this font, as used by Font.enableShader(Batch).
ShakeEffect - Class in com.github.tommyettinger.textra.effects
Shakes the text in a random pattern.
ShakeEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.ShakeEffect
 
show(Stage, Action) - Method in class com.github.tommyettinger.textra.TextraDialog
Packs the dialog (but doesn't set the position), adds it to the stage, sets it as the keyboard and scroll focus, clears any actions on the dialog, and adds the specified action to it.
show(Stage) - Method in class com.github.tommyettinger.textra.TextraDialog
Centers the dialog in the stage and calls TextraDialog.show(Stage, Action) with a Actions.fadeIn(float, Interpolation) action.
show(Stage, Action) - Method in class com.github.tommyettinger.textra.TypingDialog
Packs the dialog (but doesn't set the position), adds it to the stage, sets it as the keyboard and scroll focus, clears any actions on the dialog, and adds the specified action to it.
show(Stage) - Method in class com.github.tommyettinger.textra.TypingDialog
Centers the dialog in the stage and calls TypingDialog.show(Stage, Action) with a Actions.fadeIn(float, Interpolation) action.
ShrinkEffect - Class in com.github.tommyettinger.textra.effects
Starts the text large and shrinks into the final position/size.
ShrinkEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.ShrinkEffect
 
SickEffect - Class in com.github.tommyettinger.textra.effects
Drips the text in a random pattern.
SickEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.SickEffect
 
size(float, float) - Method in class com.github.tommyettinger.textra.Line
 
sizing - Variable in class com.github.tommyettinger.textra.TypingLabel
Contains two floats per glyph, as size multipliers; even items apply to x, odd items apply to y.
skipToTheEnd() - Method in class com.github.tommyettinger.textra.TypingLabel
Skips the char progression to the end, showing the entire label.
skipToTheEnd(boolean) - Method in class com.github.tommyettinger.textra.TypingLabel
Skips the char progression to the end, showing the entire label.
skipToTheEnd(boolean, boolean) - Method in class com.github.tommyettinger.textra.TypingLabel
Skips the char progression to the end, showing the entire label.
SlideEffect - Class in com.github.tommyettinger.textra.effects
Moves the text horizontally easing it into the final position.
SlideEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.SlideEffect
 
solidBlock - Variable in class com.github.tommyettinger.textra.Font
A char that will be used to draw solid blocks with Font.drawBlocks(Batch, int[][], float, float), and to draw box-drawing/block-element characters if makeGridGlyphs is true in the constructor.
SpinEffect - Class in com.github.tommyettinger.textra.effects
Rotates each glyph quickly and slows down as it approaches some count of rotations.
SpinEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.SpinEffect
 
SpiralEffect - Class in com.github.tommyettinger.textra.effects
Moves the text in a round spiral from outwards-in, easing it into the final position.
SpiralEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.SpiralEffect
 
SquashEffect - Class in com.github.tommyettinger.textra.effects
Stretches the text vertically from the baseline up to its full height.
SquashEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.SquashEffect
 
storedText - Variable in class com.github.tommyettinger.textra.TextraLabel
 
STRIKETHROUGH - Static variable in class com.github.tommyettinger.textra.Font
Bit flag for strikethrough mode, as a long.
style - Variable in class com.github.tommyettinger.textra.TextraLabel
 
SUBSCRIPT - Static variable in class com.github.tommyettinger.textra.Font
Bit flag for subscript mode, as a long.
SUPERSCRIPT - Static variable in class com.github.tommyettinger.textra.Font
Two-bit flag for superscript mode, as a long.

T

targetWidth - Variable in class com.github.tommyettinger.textra.Layout
 
text(String) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TextraLabel to the content table.
text(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TextraLabel to the content table.
text(String, Font) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TextraLabel to the content table.
text(String, Font, Color) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TextraLabel to the content table.
text(TextraLabel) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds the given TextraLabel to the content table.
text(String) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TextraLabel to the content table.
text(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TextraLabel to the content table.
text(String, Font) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TextraLabel to the content table.
text(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TextraLabel to the content table.
text(TextraLabel) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds the given TextraLabel to the content table.
TextraButton - Class in com.github.tommyettinger.textra
A button with a child TextraLabel to display text.
TextraButton(String, Skin) - Constructor for class com.github.tommyettinger.textra.TextraButton
 
TextraButton(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraButton
 
TextraButton(String, TextButton.TextButtonStyle) - Constructor for class com.github.tommyettinger.textra.TextraButton
 
TextraButton(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TextraButton
 
TextraButton(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TextraButton
 
TextraButton(String, TextButton.TextButtonStyle, Font) - Constructor for class com.github.tommyettinger.textra.TextraButton
 
TextraCheckBox - Class in com.github.tommyettinger.textra
A checkbox is a button that contains an image indicating the checked or unchecked state and a TextraLabel.
TextraCheckBox(String, Skin) - Constructor for class com.github.tommyettinger.textra.TextraCheckBox
 
TextraCheckBox(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraCheckBox
 
TextraCheckBox(String, CheckBox.CheckBoxStyle) - Constructor for class com.github.tommyettinger.textra.TextraCheckBox
 
TextraCheckBox(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TextraCheckBox
 
TextraCheckBox(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TextraCheckBox
 
TextraCheckBox(String, CheckBox.CheckBoxStyle, Font) - Constructor for class com.github.tommyettinger.textra.TextraCheckBox
 
TextraDialog - Class in com.github.tommyettinger.textra
Displays a dialog, which is a window with a title, a content table, and a button table.
TextraDialog(String, Skin) - Constructor for class com.github.tommyettinger.textra.TextraDialog
 
TextraDialog(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraDialog
 
TextraDialog(String, Window.WindowStyle) - Constructor for class com.github.tommyettinger.textra.TextraDialog
 
TextraDialog(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TextraDialog
 
TextraDialog(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TextraDialog
 
TextraDialog(String, Window.WindowStyle, Font) - Constructor for class com.github.tommyettinger.textra.TextraDialog
 
TextraLabel - Class in com.github.tommyettinger.textra
A scene2d.ui Widget that displays text using a Font rather than a libGDX BitmapFont.
TextraLabel() - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel that uses the default libGDX font (lsans-15 in the current version) with white color.
TextraLabel(String, Skin) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the specified Skin's LabelStyle.
TextraLabel(String, Skin, boolean) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the specified Skin's LabelStyle.
TextraLabel(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the specified style from the given Skin.
TextraLabel(String, Skin, String, boolean) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the specified style from the given Skin.
TextraLabel(String, Skin, String, Color) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line), using the specified style from the given Skin, with the default Color overridden by the given one.
TextraLabel(String, Skin, String, String) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line), using the specified style from the given Skin, with the default Color overridden by the color with the given name in the skin.
TextraLabel(String, Label.LabelStyle) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the given style.
TextraLabel(String, Label.LabelStyle, boolean) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the given style.
TextraLabel(String, Label.LabelStyle, Font) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the given style.
TextraLabel(String, Font) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line) and using the given Font.
TextraLabel(String, Font, Color) - Constructor for class com.github.tommyettinger.textra.TextraLabel
Creates a TextraLabel with the given text (which may be multi-line), using the given Font, and using the given default color.
TextraTooltip - Class in com.github.tommyettinger.textra
A tooltip that shows a TextraLabel.
TextraTooltip(String, Skin) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TextTooltip.TextTooltipStyle) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TooltipManager, Skin) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TooltipManager, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TooltipManager, TextTooltip.TextTooltipStyle) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TextTooltip.TextTooltipStyle, Font) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TooltipManager, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TooltipManager, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraTooltip(String, TooltipManager, TextTooltip.TextTooltipStyle, Font) - Constructor for class com.github.tommyettinger.textra.TextraTooltip
 
TextraWindow - Class in com.github.tommyettinger.textra
A table that can be dragged and act as a modal window.
TextraWindow(String, Skin) - Constructor for class com.github.tommyettinger.textra.TextraWindow
 
TextraWindow(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraWindow
 
TextraWindow(String, Window.WindowStyle) - Constructor for class com.github.tommyettinger.textra.TextraWindow
 
TextraWindow(String, Window.WindowStyle, boolean) - Constructor for class com.github.tommyettinger.textra.TextraWindow
 
TextraWindow(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TextraWindow
 
TextraWindow(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TextraWindow
 
TextraWindow(String, Window.WindowStyle, Font) - Constructor for class com.github.tommyettinger.textra.TextraWindow
 
THIN_ACROSS - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
THIN_END - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
THIN_OVER - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
THIN_START - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
TokenCategory - Enum in com.github.tommyettinger.textra
 
tokenEntries - Variable in class com.github.tommyettinger.textra.TypingLabel
 
toString() - Method in class com.github.tommyettinger.textra.Font
 
toString() - Method in class com.github.tommyettinger.textra.ImageTextraButton
 
toString() - Method in class com.github.tommyettinger.textra.Layout
 
toString() - Method in class com.github.tommyettinger.textra.Line
 
toString() - Method in class com.github.tommyettinger.textra.TextraButton
 
toString() - Method in class com.github.tommyettinger.textra.TypingLabel
 
totalTime - Variable in class com.github.tommyettinger.textra.Effect
 
TWIN_ACROSS - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
TWIN_END1 - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
TWIN_END2 - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
TWIN_OVER1 - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
TWIN_OVER2 - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
TWIN_START1 - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
TWIN_START2 - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
typing(String) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TypingLabel to the content table.
typing(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TypingLabel to the content table.
typing(String, Font) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TypingLabel to the content table.
typing(String, Font, Color) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds a TypingLabel to the content table.
typing(TypingLabel) - Method in class com.github.tommyettinger.textra.TextraDialog
Adds the given TypingLabel to the content table.
typing(String) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TypingLabel to the content table.
typing(String, Label.LabelStyle) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TypingLabel to the content table.
typing(String, Font) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TypingLabel to the content table.
typing(String, Font, Color) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds a TypingLabel to the content table.
typing(TypingLabel) - Method in class com.github.tommyettinger.textra.TypingDialog
Adds the given TypingLabel to the content table.
TypingAdapter - Class in com.github.tommyettinger.textra
Simple listener for label events.
TypingAdapter() - Constructor for class com.github.tommyettinger.textra.TypingAdapter
 
TypingButton - Class in com.github.tommyettinger.textra
A button with a child TypingLabel to display text.
TypingButton(String, Skin) - Constructor for class com.github.tommyettinger.textra.TypingButton
 
TypingButton(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TypingButton
 
TypingButton(String, TextButton.TextButtonStyle) - Constructor for class com.github.tommyettinger.textra.TypingButton
 
TypingButton(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TypingButton
 
TypingButton(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TypingButton
 
TypingButton(String, TextButton.TextButtonStyle, Font) - Constructor for class com.github.tommyettinger.textra.TypingButton
 
TypingCheckBox - Class in com.github.tommyettinger.textra
A checkbox is a button that contains an image indicating the checked or unchecked state and a TypingLabel.
TypingCheckBox(String, Skin) - Constructor for class com.github.tommyettinger.textra.TypingCheckBox
 
TypingCheckBox(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TypingCheckBox
 
TypingCheckBox(String, CheckBox.CheckBoxStyle) - Constructor for class com.github.tommyettinger.textra.TypingCheckBox
 
TypingCheckBox(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TypingCheckBox
 
TypingCheckBox(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TypingCheckBox
 
TypingCheckBox(String, CheckBox.CheckBoxStyle, Font) - Constructor for class com.github.tommyettinger.textra.TypingCheckBox
 
TypingConfig - Class in com.github.tommyettinger.textra
Configuration class that easily allows the user to fine tune the library's functionality.
TypingConfig() - Constructor for class com.github.tommyettinger.textra.TypingConfig
 
TypingDialog - Class in com.github.tommyettinger.textra
Displays a dialog, which is a TypingWindow with a TypingLabel for a title, a content table, and a button table.
TypingDialog(String, Skin) - Constructor for class com.github.tommyettinger.textra.TypingDialog
 
TypingDialog(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TypingDialog
 
TypingDialog(String, Window.WindowStyle) - Constructor for class com.github.tommyettinger.textra.TypingDialog
 
TypingDialog(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TypingDialog
 
TypingDialog(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TypingDialog
 
TypingDialog(String, Window.WindowStyle, Font) - Constructor for class com.github.tommyettinger.textra.TypingDialog
 
TypingLabel - Class in com.github.tommyettinger.textra
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}.
TypingLabel() - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Skin) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Label.LabelStyle) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Label.LabelStyle, Font) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Font) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingLabel(String, Font, Color) - Constructor for class com.github.tommyettinger.textra.TypingLabel
 
TypingListener - Interface in com.github.tommyettinger.textra
Simple listener for label events.
TypingTooltip - Class in com.github.tommyettinger.textra
A tooltip that shows a TypingLabel.
TypingTooltip(String, Skin) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TextTooltip.TextTooltipStyle) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TooltipManager, Skin) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TooltipManager, Skin, String) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TooltipManager, TextTooltip.TextTooltipStyle) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TextTooltip.TextTooltipStyle, Font) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TooltipManager, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TooltipManager, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingTooltip(String, TooltipManager, TextTooltip.TextTooltipStyle, Font) - Constructor for class com.github.tommyettinger.textra.TypingTooltip
 
TypingWindow - Class in com.github.tommyettinger.textra
A table that can be dragged and act as a modal window.
TypingWindow(String, Skin) - Constructor for class com.github.tommyettinger.textra.TypingWindow
 
TypingWindow(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TypingWindow
 
TypingWindow(String, Window.WindowStyle) - Constructor for class com.github.tommyettinger.textra.TypingWindow
 
TypingWindow(String, Window.WindowStyle, boolean) - Constructor for class com.github.tommyettinger.textra.TypingWindow
 
TypingWindow(String, Skin, Font) - Constructor for class com.github.tommyettinger.textra.TypingWindow
 
TypingWindow(String, Skin, String, Font) - Constructor for class com.github.tommyettinger.textra.TypingWindow
 
TypingWindow(String, Window.WindowStyle, Font) - Constructor for class com.github.tommyettinger.textra.TypingWindow
 

U

UNDERLINE - Static variable in class com.github.tommyettinger.textra.Font
Bit flag for underline mode, as a long.
unregisterEffect(String, String) - Static method in class com.github.tommyettinger.textra.TypingConfig
Unregisters an effect from TypingLabel.
update(float) - Method in class com.github.tommyettinger.textra.Effect
 
update(float) - Method in class com.github.tommyettinger.textra.effects.WindEffect
 
updateImage() - Method in class com.github.tommyettinger.textra.ImageTextraButton
Sets the image drawable based on the current button state.
useIntegerPositions(boolean) - Method in class com.github.tommyettinger.textra.Font
 
useIntegerPositions(boolean) - Method in class com.github.tommyettinger.textra.TextraButton
 
useIntegerPositions(boolean) - Method in class com.github.tommyettinger.textra.TextraLabel
 

V

valueOf(String) - Static method in enum com.github.tommyettinger.textra.Font.DistanceFieldType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.tommyettinger.textra.TokenCategory
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.tommyettinger.textra.Font.DistanceFieldType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.tommyettinger.textra.TokenCategory
Returns an array containing the constants of this enum type, in the order they are declared.
vertexShader - Static variable in class com.github.tommyettinger.textra.Font
The standard libGDX vertex shader source, which is also used by the MSDF shader.

W

WaveEffect - Class in com.github.tommyettinger.textra.effects
Moves the text vertically in a sine wave pattern.
WaveEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.WaveEffect
 
WIDE_ACROSS - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
WIDE_END - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
WIDE_OVER - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
WIDE_START - Static variable in class com.github.tommyettinger.textra.utils.BlockUtils
 
width - Variable in class com.github.tommyettinger.textra.Line
 
WindEffect - Class in com.github.tommyettinger.textra.effects
Moves the text in a wind pattern.
WindEffect(TypingLabel, String[]) - Constructor for class com.github.tommyettinger.textra.effects.WindEffect
 
workingLayout - Variable in class com.github.tommyettinger.textra.TypingLabel
 
wrap - Variable in class com.github.tommyettinger.textra.TextraLabel
 

X

xAdvance - Variable in class com.github.tommyettinger.textra.Font.GlyphRegion
How far to move the "cursor" to the right after drawing this GlyphRegion.
xAdvance(Font, float, long) - Static method in class com.github.tommyettinger.textra.Font
Gets the distance to advance the cursor after drawing glyph, scaled by scale as if drawing.
xAdvance(long) - Method in class com.github.tommyettinger.textra.Font
Gets the distance to advance the cursor after drawing glyph, scaled by Font.scaleX as if drawing.
A B C D E F G H I J K L M N O P R S T U V W X 
Skip navigation links