Class TextLayout
java.lang.Object
zombie.worldMap.symbols.TextLayout
-
Field Summary
FieldsModifier and TypeFieldDescriptionshort[]
short[]
int
short
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLine
(short short0, short short1) void
calculateLineLengths
(WorldMapTextStyleLayer worldMapTextStyleLayer) int
getFirstChar
(int int0) int
getLastChar
(int int0) int
getLineLength
(int int0) float
getLineOffsetX
(int int0) int
set
(String string, WorldMapTextStyleLayer worldMapTextStyleLayer) set
(TextLayout textLayout0) splitLines
(String string)
-
Field Details
-
text
-
textWithoutFormatting
-
numLines
public short numLines -
lineStartEnd
public short[] lineStartEnd -
textLayer
-
lineLength
public short[] lineLength -
maxLineLength
public int maxLineLength
-
-
Constructor Details
-
TextLayout
public TextLayout()
-
-
Method Details
-
set
-
set
-
splitLines
-
addLine
public void addLine(short short0, short short1) -
calculateLineLengths
-
getMaxLineLength
public int getMaxLineLength() -
getLineLength
public int getLineLength(int int0) -
getLineOffsetX
public float getLineOffsetX(int int0) -
getFirstChar
public int getFirstChar(int int0) -
getLastChar
public int getLastChar(int int0)
-