TextCellFactory |
TextCellFactory.addFit(String fit) |
Adds the code points in the string to the list of characters that will be
guaranteed to fit.
|
TextCellFactory |
TextCellFactory.addSwap(char find,
char replace) |
Adds a pair of chars as a replacement pair, so when the find char is requested to be drawn, the replace char is
used instead.
|
TextCellFactory |
TextCellFactory.addSwap(String find,
String replace) |
Adds a pair of Strings (typically both with length 1) as a replacement pair, so when the find String is requested
to be drawn, the replace String is used instead.
|
TextCellFactory |
TextCellFactory.addSwaps(OrderedMap<Character,Character> swaps) |
Appends to the mapping of replacement pairs, adding or replacing any entries in the current mapping with the
entries in a Map of Character keys to String values.
|
TextCellFactory |
TextCellFactory.antialias(boolean antialias) |
Deprecated.
|
TextCellFactory |
TextCellFactory.bottomPadding(int padding) |
Sets the amount of padding on the bottom side to the provided value.
|
TextCellFactory |
TextCellFactory.clearSwaps() |
Clears all replacement pairs this has been told to swap.
|
TextCellFactory |
TextCellFactory.copy() |
|
TextCellFactory |
TextCellFactory.defaultDistanceFieldFont() |
Sets the TextCellFactory to use a square distance field font that will resize to whatever size you request.
|
TextCellFactory |
TextCellFactory.defaultFont() |
Sets this factory to use a default 12x24 font that supports Latin, Greek, Cyrillic, and many more, including
box-drawing characters, zodiac signs, playing-card suits, and chess piece symbols.
|
TextCellFactory |
TextCellFactory.defaultNarrowDistanceFieldFont() |
Sets the TextCellFactory to use a half-square distance field font that will resize to whatever size you request.
|
TextCellFactory |
TextCellFactory.defaultNarrowFont() |
Sets this factory to use a default 12x24 font that renders very accurately, with no gaps between box-drawing
characters and very geometric lines.
|
TextCellFactory |
TextCellFactory.defaultSquareFont() |
Sets this factory to use a default 12x12 font, which...
|
TextCellFactory |
TextCellFactory.fit(String fit) |
Sets the characters that will be guaranteed to fit to the provided ones.
|
TextCellFactory |
TextCellFactory.font(com.badlogic.gdx.graphics.g2d.BitmapFont bitmapFont) |
Sets this factory to use the provided BitmapFont as its font without re-constructing anything.
|
TextCellFactory |
TextCellFactory.font(String fontpath) |
Sets this factory to use the provided font.
|
TextCellFactory |
TextCellFactory.fontDistanceField(String fontPath,
String texturePath) |
Sets the font to a distance field font with the given String path to a .fnt file and String path to a texture.
|
TextCellFactory |
TextCellFactory.fontMultiDistanceField(String fontPath,
String texturePath) |
|
static TextCellFactory |
DefaultResources.getCrispCarvedFont() |
Returns a TextCellFactory already configured to use a partially-angular variable-width font with good Unicode
support and an appearance as if it were carved into solid rock, that should scale cleanly to even very large
sizes (using an MSDF technique).
|
static TextCellFactory |
DefaultResources.getCrispCurvySquareFont() |
Returns a TextCellFactory already configured to use an all-caps (with lighter-weight versions of upper-case
letters for the lower-case glyphs) square font that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getCrispDejaVuFont() |
Returns a TextCellFactory already configured to use a fixed-width sans-serif font with excellent Unicode support,
that should scale cleanly to even very large sizes.
|
static TextCellFactory |
DefaultResources.getCrispIconFont() |
Returns a TextCellFactory already configured to use a fixed-width icon font (no letters are supported) using the
Font-Awesome icon set, that should scale cleanly to even very large sizes.
|
static TextCellFactory |
DefaultResources.getCrispLeanFont() |
Returns a TextCellFactory 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).
|
static TextCellFactory |
DefaultResources.getCrispLeanItalicFont() |
Deprecated.
|
static TextCellFactory |
DefaultResources.getCrispOctagonalSquareFont() |
Returns a TextCellFactory 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.
|
static TextCellFactory |
DefaultResources.getCrispRobotoSansFont() |
Returns a TextCellFactory already configured to use a variable-width sans-serif font with good Unicode support
and a no-nonsense look, that should scale cleanly to even very large or small sizes (using an MSDF technique).
|
static TextCellFactory |
DefaultResources.getCrispSlabFont() |
Returns a TextCellFactory 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).
|
static TextCellFactory |
DefaultResources.getCrispSlabItalicFont() |
Deprecated.
|
TextCellFactory |
SparseLayers.getFont() |
Gets a direct reference to the TextCellFactory this uses to draw and size its text items and cells.
|
TextCellFactory |
TextPanel.getFont() |
|
static TextCellFactory |
DefaultResources.getStretchableCleanFont() |
Returns a TextCellFactory already configured to use a variable-width sans-serif font that currently looks
slightly jumbled without certain layout features.
|
static TextCellFactory |
DefaultResources.getStretchableCodeFont() |
Returns a TextCellFactory already configured to use a highly-legible fixed-width font with broad Unicode support
that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableCodeJPFont() |
Returns a TextCellFactory already configured to use a highly-legible fixed-width font with strong CJK support (in
particular, very good coverage for Japanese) that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableDejaVuFont() |
Returns a TextCellFactory already configured to use a font with extremely wide Unicode support that should scale
cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableFont() |
Returns a TextCellFactory already configured to use a narrow font (twice as tall as it is wide) that should scale
cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableHeavySquareFont() |
Returns a TextCellFactory already configured to use an blocky, fairly-bold square font that should scale cleanly
to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableLeanFont() |
Returns a TextCellFactory already configured to use a highly-legible fixed-width font with good Unicode support
and a thin, geometric style, that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableLeanLightFont() |
Returns a TextCellFactory already configured to use a highly-legible fixed-width font with good Unicode support
and a very thin, geometric style, that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableOrbitFont() |
Returns a TextCellFactory already configured to use a variable-width sans-serif font that should have a blocky,
futuristic look (based on the font Orbitron), and that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchablePrintFont() |
Returns a TextCellFactory already configured to use a variable-width serif font that should look like the serif
fonts used in many novels' main texts, and that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableSlabFont() |
Returns a TextCellFactory 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 many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableSlabLightFont() |
Returns a TextCellFactory already configured to use a highly-legible fixed-width font with good Unicode support
and a very thin, slab-serif geometric style, that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableSquareFont() |
Returns a TextCellFactory already configured to use a square font that should scale cleanly to many sizes.
|
static TextCellFactory |
DefaultResources.getStretchableTypewriterFont() |
Returns a TextCellFactory already configured to use a narrow typewriter-style serif font that should scale
cleanly to many sizes.
|
TextCellFactory |
SquidPanel.getTextCellFactory() |
|
TextCellFactory |
SquidLayers.getTextFactory() |
|
TextCellFactory |
TextCellFactory.height(float height) |
Sets the factory's cell height to the provided value.
|
TextCellFactory |
TextCellFactory.includedFont() |
Sets this factory to use the one font included with libGDX, which is Arial at size 15 px.
|
TextCellFactory |
TextCellFactory.initByFont() |
Initializes the factory to then be able to create text cells on demand.
|
TextCellFactory |
TextCellFactory.initBySize() |
Initializes the factory to then be able to create text cells on demand.
|
TextCellFactory |
TextCellFactory.initVerbatim() |
|
TextCellFactory |
TextCellFactory.leftPadding(int padding) |
Sets the amount of padding on the left side to the provided value.
|
TextCellFactory |
TextCellFactory.padding(int padding) |
Sets the amount of padding on all sides to the provided value.
|
TextCellFactory |
TextCellFactory.removeSwap(char find) |
Removes the replacement pair, if present, that searches for the given key, find.
|
TextCellFactory |
TextCellFactory.removeSwap(String find) |
Removes the replacement pair, if present, that searches for the given key, find.
|
TextCellFactory |
TextCellFactory.resetSize() |
Acts like calling initBySize() , but doesn't create new ShaderPrograms or other objects if this has
already been initialized.
|
TextCellFactory |
TextCellFactory.resetSize(float newWidth,
float newHeight) |
|
TextCellFactory |
TextCellFactory.rightPadding(int padding) |
Sets the amount of padding on the right side to the provided value.
|
TextCellFactory |
TextCellFactory.setAllSwaps(OrderedMap<Character,Character> swaps) |
Sets the mapping of replacement pairs to a different one as a Map of Character keys to String values.
|
TextCellFactory |
TextCellFactory.setColorCenter(IColorCenter<com.badlogic.gdx.graphics.Color> icc) |
|
TextCellFactory |
TextCellFactory.setDirectionGlyph(char directionGlyph) |
|
TextCellFactory |
TextCellFactory.setSmoothingMultiplier(float smoothingMultiplier) |
If this uses a distance field font, the smoothing multiplier affects how crisp or blurry lines are, with higher
numbers generally resulting in more crisp fonts, but numbers that are too high cause jagged aliasing.
|
TextCellFactory |
TextCellFactory.topPadding(int padding) |
Sets the amount of padding on the top side to the provided value.
|
TextCellFactory |
TextCellFactory.tweakHeight(float height) |
Sets the factory's height used for text to the provided value, but does not change the size of a cell.
|
TextCellFactory |
TextCellFactory.tweakWidth(float width) |
Sets the factory's height used for text to the provided value, but does not change the size of a cell.
|
TextCellFactory |
TextCellFactory.width(float width) |
Sets the factory's cell width to the provided value.
|