Package | Description |
---|---|
org.lazywizard.lazylib.ui |
Contains classes and methods for rendering text and simple GUI elements.
|
Modifier and Type | Method and Description |
---|---|
@NotNull LazyFont.DrawableString |
LazyFont.createText()
Create a
LazyFont.DrawableString with no text, ready for appending. |
@NotNull LazyFont.DrawableString |
LazyFont.createText(String text)
Create a
LazyFont.DrawableString with the specified initial text. |
@NotNull LazyFont.DrawableString |
LazyFont.createText(String text,
Color color)
Create a
LazyFont.DrawableString with the specified initial text and color. |
@NotNull LazyFont.DrawableString |
LazyFont.createText(String text,
Color color,
float size)
Create a
LazyFont.DrawableString with the specified initial text, color, and font size, with no text wrapping. |
@NotNull LazyFont.DrawableString |
LazyFont.createText(String text,
Color color,
float size,
float maxWidth)
Create a
LazyFont.DrawableString with the specified initial text, color, and font size, with text wrapping. |
@NotNull LazyFont.DrawableString |
LazyFont.createText(String text,
Color color,
float size,
float maxWidth,
float maxHeight)
Create a
LazyFont.DrawableString with the specified initial text, color, and font size, with text wrapping and
a max height - any appended text past that limit will be discarded. |