Class TextManager
java.lang.Object
zombie.ui.TextManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AngelCodeFont[]static final TextManagerfinal AngelCodeFont[]static SDFShader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCentreStringYOffset(UIFont uIFont, String string) voidDrawString(double x, double y, String str) voidDrawString(double x, double y, String str, double r, double g, double b, double a) voidDrawString(UIFont _font, double x, double y, double zoom, String str, double r, double g, double b, double a) voidDrawString(UIFont _font, double x, double y, String str, double r, double g, double b, double a) voidDrawStringBBcode(UIFont _font, double x, double y, String str, double r, double g, double b, double a) voidDrawStringCentre(double x, double y, String str, double r, double g, double b, double a) voidDrawStringCentre(UIFont _font, double x, double y, String str, double r, double g, double b, double a) voidDrawStringCentreDefered(UIFont _font, double x, double y, String str, double r, double g, double b, double a) voidDrawStringRight(double x, double y, String str, double r, double g, double b, double a) voidDrawStringRight(UIFont _font, double x, double y, String str, double r, double g, double b, double a) voidDrawStringUntrimmed(UIFont _font, double x, double y, String str, double r, double g, double b, double a) voidvoidDrawTextObject(double x, double y, TextDrawObject td) getAllFonts(ArrayList<UIFont> arrayList) GetDrawTextObject(String str, int maxLineWidth, boolean restrictImages) getFontFromEnum(UIFont _font) intgetFontHeight(UIFont fontID) getNormalFromFontSize(int points) voidInit()booleanbooleanintMeasureFont(UIFont _font) intMeasureStringX(UIFont _font, String str) intMeasureStringY(UIFont _font, String str) intMeasureStringY(UIFont uIFont, String string, boolean boolean0, boolean boolean1) intMeasureStringYOffset(UIFont uIFont, String string) intMeasureStringYReal(UIFont uIFont, String string)
-
Field Details
-
font
-
font2
-
font3
-
font4
-
main1
-
main2
-
zombiefontcredits1
-
zombiefontcredits2
-
zombienew1
-
zombienew2
-
zomboidDialogue
-
codetext
-
codeSmall
-
codeMedium
-
codeLarge
-
debugConsole
-
intro
-
handwritten
-
normal
-
zombienew3
-
enumToFont
-
sdfShader
-
currentCodeFont
-
instance
-
todoTextList
-
-
Constructor Details
-
TextManager
public TextManager()
-
-
Method Details
-
DrawString
-
DrawString
-
DrawString
-
DrawString
-
DrawStringUntrimmed
-
DrawStringCentre
public void DrawStringCentre(double x, double y, String str, double r, double g, double b, double a) -
DrawStringCentre
-
DrawStringCentreDefered
-
DrawTextFromGameWorld
public void DrawTextFromGameWorld() -
DrawStringRight
-
GetDrawTextObject
-
DrawTextObject
-
DrawStringBBcode
-
getNormalFromFontSize
-
getFontFromEnum
-
getFontHeight
-
isSdf
-
getAllFonts
-
DrawStringRight
-
Init
- Throws:
FileNotFoundException
-
isUsingNonEnglishFonts
public boolean isUsingNonEnglishFonts() -
MeasureStringX
-
CentreStringYOffset
-
MeasureStringY
-
MeasureStringYReal
-
MeasureStringYOffset
-
MeasureStringY
-
MeasureFont
-
WrapText
-
WrapText
-
getCurrentCodeFont
-