| Package | Description |
|---|---|
| com.bonzaiengine.font | |
| com.bonzaiengine.ui | |
| com.bonzaiengine.ui.widget |
| Modifier and Type | Field and Description |
|---|---|
protected TextAlign |
FontPacket.textAlign |
| Modifier and Type | Method and Description |
|---|---|
static TextAlign |
TextAlign.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
TextAlign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FontPacket.set(java.lang.String text,
Anchor anchor,
TextAlign textAlign,
Vec3 pos,
Area clipArea,
int fontSize,
float[] color,
boolean fixedLine) |
| Constructor and Description |
|---|
FontPacket(java.lang.String text,
Anchor anchor,
TextAlign textAlign,
Vec3 pos) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpriteRenderer.renderText(IFont font,
int fontSize,
boolean fixedLine,
java.lang.String text,
Anchor anchor,
TextAlign textAlign,
float x,
float y,
Area clipArea,
Color4 color,
float fade)
Render a text
|
| Modifier and Type | Method and Description |
|---|---|
void |
Label.setTextAlign(TextAlign textAlign) |
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com