APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.utils

public final Enum Justify

extends Enum<Justify>
Class Inheritance

The text justification hint on the type of spacing and which lines to justify.

Field Summary

Modifier and TypeField and Description
public static final Justify
AllLinesByGlyph

Spaces inserted between glyphs for all lines.

public static final Justify
AllLinesBySpace

Space glyphs are padded for all lines.

public static final Justify
None

No justification is applied.

public static final Justify
ParagraphByGlyph

Spaces inserted between glyphs for wrapped lines except the last.

public static final Justify
ParagraphBySpace

Space glyphs are padded for wrapped lines except the last.

public static final Justify
WrappedLinesByGlyph

Spaces inserted between glyphs on wrapped lines including the last.

public static final Justify
WrappedLinesBySpace

Space glyphs are padded for wrapped lines including the last.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
matchChar(int ch)

public static Justify
public static Justify[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AllLinesByGlyphback to summary
public static final Justify AllLinesByGlyph

Spaces inserted between glyphs for all lines.

AllLinesBySpaceback to summary
public static final Justify AllLinesBySpace

Space glyphs are padded for all lines.

Noneback to summary
public static final Justify None

No justification is applied.

ParagraphByGlyphback to summary
public static final Justify ParagraphByGlyph

Spaces inserted between glyphs for wrapped lines except the last.

ParagraphBySpaceback to summary
public static final Justify ParagraphBySpace

Space glyphs are padded for wrapped lines except the last.

WrappedLinesByGlyphback to summary
public static final Justify WrappedLinesByGlyph

Spaces inserted between glyphs on wrapped lines including the last.

WrappedLinesBySpaceback to summary
public static final Justify WrappedLinesBySpace

Space glyphs are padded for wrapped lines including the last.

Constructor Detail

Justifyback to summary
private Justify()

Method Detail

isAllLinesback to summary
public boolean isAllLines()
isByGlyphback to summary
public boolean isByGlyph()
isBySpaceback to summary
public boolean isBySpace()
isNoneback to summary
public boolean isNone()
isParagraphback to summary
public boolean isParagraph()
isWrappedLinesback to summary
public boolean isWrappedLines()
matchCharback to summary
public boolean matchChar(int ch)
valueOfback to summary
public static Justify valueOf(String name)
valuesback to summary
public static Justify[] values()