Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- act(float) - Method in class com.github.tommyettinger.textra.TypingLabel
- actualCrispness - Variable in class com.github.tommyettinger.textra.Font
-
When
Font.distanceFieldisFont.DistanceFieldType.SDForFont.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
longglyph as processed byFontto store color and style info with the char. - adjustCellWidth(float) - Method in class com.github.tommyettinger.textra.Font
-
Multiplies the width used by each glyph in a monospaced font by
multiplierwithout changing the size of any characters. - adjustLineHeight(float) - Method in class com.github.tommyettinger.textra.Font
-
Multiplies the line height by
multiplierwithout 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 scale with the given float multiplier, rounded to a multiple of 0.25 and wrapped to within 0.0 to 3.75, both inclusive.
- 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, andFont.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
- BOLD - Static variable in class com.github.tommyettinger.textra.Font
-
Bit flag for bold mode, as a long.
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.
- cancelSkipping() - Method in class com.github.tommyettinger.textra.TypingLabel
-
Cancels calls to
TypingLabel.skipToTheEnd(). - 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.isMonois true; otherwise refers to the largest width of any glyph in the font, after scaling. - 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.
- COLOR - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- colorLookup - Variable in class com.github.tommyettinger.textra.Font
-
Determines how colors are looked up by name; defaults to using
Colors. - 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.GdxColorLookup - Class in com.github.tommyettinger.textra
-
The default ColorLookup, this simply looks up
keyinColors, 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.
D
- DEFAULT_CLEAR_COLOR - Static variable in class com.github.tommyettinger.textra.TypingConfig
-
Default color for the
CLEARCOLORtoken. - 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
WAITtoken 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.DistanceFieldTypethat should beFont.DistanceFieldType.STANDARDfor most fonts, and can beFont.DistanceFieldType.SDForFont.DistanceFieldType.MSDFif 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.distanceFieldisFont.DistanceFieldType.SDForFont.DistanceFieldType.MSDF, this determines how much the edges of the glyphs should be aliased sharply (higher values) or anti-aliased softly (lower values). - draw(Batch, float) - Method in class com.github.tommyettinger.textra.TextraLabel
- draw(Batch, float) - Method in class com.github.tommyettinger.textra.TypingLabel
-
If your font uses
Font.DistanceFieldType.SDForFont.DistanceFieldType.MSDF, then this has to do some extra work to use the appropriate shader. - 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.
- 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.
- 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.
- 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
alignto 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
alignto 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.
- 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
- Effect - Class in com.github.tommyettinger.textra
-
Abstract text effect.
- Effect(TypingLabel) - Constructor for class com.github.tommyettinger.textra.Effect
- EFFECT_END - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- EFFECT_START - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- ellipsis - Variable in class com.github.tommyettinger.textra.Layout
- 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.
- event(String) - Method in class com.github.tommyettinger.textra.TypingAdapter
- event(String) - Method in interface com.github.tommyettinger.textra.TypingListener
-
Called each time an
EVENTtoken is processed. - EVENT - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- 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.
- 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 - Variable in class com.github.tommyettinger.textra.Layout
- font - Variable in class com.github.tommyettinger.textra.TextraLabel
- 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 - Class in com.github.tommyettinger.textra
-
A replacement for libGDX's BitmapFont class, supporting additional markup to allow styling text with various effects.
- 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(Font) - Constructor for class com.github.tommyettinger.textra.Font
-
Copy constructor; does not copy the font's
Font.shaderorFont.colorLookup, if it has them (it uses the same reference for the new Font), but will fully copy everything else. - 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, 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(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, 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, 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, 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, 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, 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, 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) - 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, 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.DistanceFieldType - Enum Class 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(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.
- 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
Arrayto sometimes be used to get the items for aliases and fonts).
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.
- getAStarry() - 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.
- 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
Colorinstance with the color to be used onCLEARCOLORtokens. - getColorLookup() - Method in class com.github.tommyettinger.textra.Font
-
Gets the ColorLookup this uses to look up colors by name.
- 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
- 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).
- 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.
- 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, that should scale cleanly to even very large sizes (using an MSDF 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, that should scale cleanly to even very large sizes (using an MSDF 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.
- 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. - 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
- getPrefHeight() - Method in class com.github.tommyettinger.textra.TypingLabel
- getPrefWidth() - Method in class com.github.tommyettinger.textra.TextraLabel
- getPrefWidth() - Method in class com.github.tommyettinger.textra.TypingLabel
- getRgba(String) - Method in class com.github.tommyettinger.textra.ColorLookup.GdxColorLookup
- getRgba(String) - Method in interface com.github.tommyettinger.textra.ColorLookup
-
Uses
keyto 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.
- getTargetWidth() - Method in class com.github.tommyettinger.textra.Layout
- getTypingListener() - Method in class com.github.tommyettinger.textra.TypingLabel
-
Returns the
TypingListenerassociated with this label. - getVariables() - Method in class com.github.tommyettinger.textra.TypingLabel
-
Returns an
ObjectMapwith 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
TypingLabelinstances at once. - 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
- 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.
- height - Variable in class com.github.tommyettinger.textra.Line
- 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
- 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.
- 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.
- 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
cis a lower-case letter, or false otherwise. - 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.
- isPaused() - Method in class com.github.tommyettinger.textra.TypingLabel
-
Returns whether or not this label is paused.
- 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
cis an upper-case letter, or false otherwise. - isWrap() - Method in class com.github.tommyettinger.textra.TextraLabel
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
- 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. - KnownFonts - Class in com.github.tommyettinger.textra
-
Preconfigured static
Fontinstances, with any important metric adjustments already applied.
L
- label - Variable in class com.github.tommyettinger.textra.Effect
- 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
- 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 fromFont, and can be drawn withFont.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
- 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 aLayout. - 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) - 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.
M
- mapping - Variable in class com.github.tommyettinger.textra.Font
-
Maps char keys (stored as ints) to their corresponding
Font.GlyphRegionvalues. - markup(String, Layout) - Method in class com.github.tommyettinger.textra.Font
- markupGlyph(char, String) - Method in class com.github.tommyettinger.textra.Font
-
Reads markup from
markup, processes it, and applies it to the given charchr; 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 charchr; 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 charchr; 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
SPEEDtoken. - 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
SPEEDtoken. - MSDF - Enum constant in enum class com.github.tommyettinger.textra.Font.DistanceFieldType
-
Used by Multi-channel Signed Distance Field fonts, which are harder to create but can be more crisp than SDF fonts, with hard corners where the corners were hard in the original font.
- 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
- 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
NoiseUtils.noise1D(float, int); still has a range of -1 to 1. - offsets - Variable in class com.github.tommyettinger.textra.TypingLabel
- 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.EaseEffect
- 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.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.ShakeEffect
- 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.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.isMonois 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.GlyphRegionimages 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.
- RESET - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- 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.actualCrispnessof 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.
- resume() - Method in class com.github.tommyettinger.textra.KnownFonts
- resume() - Method in class com.github.tommyettinger.textra.TypingLabel
-
Resumes this label's character progression.
- 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).
S
- saveOriginalText(CharSequence) - Method in class com.github.tommyettinger.textra.TypingLabel
-
Copies the content of
TypingLabel.getOriginalText()to theStringBuildercontaining 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.
- 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.
- SDF - Enum constant in enum class com.github.tommyettinger.textra.Font.DistanceFieldType
-
Used by Signed Distance Field fonts that are compatible with
DistanceFieldFont, and may be created by Hiero with its Distance Field effect. - 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, this allows changing how colors are looked up by name (or built) given a
ColorLookupinterface 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
- 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. - setSize(float, float) - Method in class com.github.tommyettinger.textra.TextraLabel
- setSize(float, float) - Method in class com.github.tommyettinger.textra.TypingLabel
- setTargetWidth(float) - Method in class com.github.tommyettinger.textra.Layout
- 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.
- setTextureFilter() - Method in class com.github.tommyettinger.textra.Font
-
Calls
Font.setTextureFilter(Texture.TextureFilter, Texture.TextureFilter)withTexture.TextureFilter.Linearfor 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
minFilterandmagFilter. - setTypingListener(TypingListener) - Method in class com.github.tommyettinger.textra.TypingLabel
-
Sets the
TypingListenerassociated with this label, ornullto 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
- 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
- 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
- SKIP - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- 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). - SPEED - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- STANDARD - Enum constant in enum class com.github.tommyettinger.textra.Font.DistanceFieldType
-
Used by normal fonts with no distance field effect.
- 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.
- 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
- TextraLabel - Class in com.github.tommyettinger.textra
-
A scene2d.ui Widget that displays text using a
Fontrather than a libGDX BitmapFont. - TextraLabel() - Constructor for class com.github.tommyettinger.textra.TextraLabel
- TextraLabel(String, Label.LabelStyle) - Constructor for class com.github.tommyettinger.textra.TextraLabel
- TextraLabel(String, Skin) - Constructor for class com.github.tommyettinger.textra.TextraLabel
- TextraLabel(String, Skin, String) - Constructor for class com.github.tommyettinger.textra.TextraLabel
- TextraLabel(String, Font) - Constructor for class com.github.tommyettinger.textra.TextraLabel
- TextraLabel(String, Font, Color) - Constructor for class com.github.tommyettinger.textra.TextraLabel
- TokenCategory - Enum Class in com.github.tommyettinger.textra
- tokenEntries - Variable in class com.github.tommyettinger.textra.TypingLabel
- 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.TypingLabel
- totalTime - Variable in class com.github.tommyettinger.textra.Effect
- TypingAdapter - Class in com.github.tommyettinger.textra
-
Simple listener for label events.
- TypingAdapter() - Constructor for class com.github.tommyettinger.textra.TypingAdapter
- 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
- TypingLabel - Class in com.github.tommyettinger.textra
-
An extension of
Labelthat 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, Label.LabelStyle) - Constructor for class com.github.tommyettinger.textra.TypingLabel
- TypingLabel(String, Skin) - Constructor for class com.github.tommyettinger.textra.TypingLabel
- TypingLabel(String, Skin, String) - 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.
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
V
- valueOf(String) - Static method in enum class com.github.tommyettinger.textra.Font.DistanceFieldType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.tommyettinger.textra.TokenCategory
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.tommyettinger.textra.Font.DistanceFieldType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.tommyettinger.textra.TokenCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARIABLE - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- 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
- WAIT - Enum constant in enum class com.github.tommyettinger.textra.TokenCategory
- 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
- 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(long) - Method in class com.github.tommyettinger.textra.Font
-
Gets the distance to advance the cursor after drawing
glyph, scaled byFont.scaleXas if drawing. - xAdvance(Font, float, long) - Static method in class com.github.tommyettinger.textra.Font
-
Gets the distance to advance the cursor after drawing
glyph, scaled byFont.scaleXas if drawing.
All Classes and Interfaces|All Packages|Constant Field Values