Class TextManager
java.lang.Object
zombie.ui.TextManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AngelCodeFont[]
static final TextManager
final AngelCodeFont[]
static SDFShader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
CentreStringYOffset
(UIFont uIFont, String string) void
DrawString
(double x, double y, String str) void
DrawString
(double x, double y, String str, double r, double g, double b, double a) void
DrawString
(UIFont _font, double x, double y, double zoom, String str, double r, double g, double b, double a) void
DrawString
(UIFont _font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringBBcode
(UIFont _font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringCentre
(double x, double y, String str, double r, double g, double b, double a) void
DrawStringCentre
(UIFont _font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringCentreDefered
(UIFont _font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringRight
(double x, double y, String str, double r, double g, double b, double a) void
DrawStringRight
(UIFont _font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringUntrimmed
(UIFont _font, double x, double y, String str, double r, double g, double b, double a) void
void
DrawTextObject
(double x, double y, TextDrawObject td) GetDrawTextObject
(String str, int maxLineWidth, boolean restrictImages) getFontFromEnum
(UIFont _font) int
getFontHeight
(UIFont fontID) getNormalFromFontSize
(int points) void
Init()
int
MeasureFont
(UIFont _font) int
MeasureStringX
(UIFont _font, String str) int
MeasureStringY
(UIFont _font, String str) int
MeasureStringY
(UIFont uIFont, String string, boolean boolean0, boolean boolean1) int
MeasureStringYOffset
(UIFont uIFont, String string) int
MeasureStringYReal
(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
-
DrawStringRight
-
Init
- Throws:
FileNotFoundException
-
MeasureStringX
-
CentreStringYOffset
-
MeasureStringY
-
MeasureStringYReal
-
MeasureStringYOffset
-
MeasureStringY
-
MeasureFont
-
WrapText
-
WrapText
-
getCurrentCodeFont
-