public final class FontPacket
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Anchor |
anchor |
protected Area |
clipArea |
protected float[] |
color |
protected int |
cursorX_ |
protected int |
cursorY_ |
protected float |
cursorZ_ |
protected boolean |
fixedLine |
protected int |
fontSize |
protected Array<java.lang.String> |
lines_ |
protected int |
numChars_ |
protected Vec3 |
pos |
protected float |
scale_ |
protected java.lang.String |
text |
protected TextAlign |
textAlign |
| Constructor and Description |
|---|
FontPacket() |
FontPacket(java.lang.String text,
Anchor anchor,
TextAlign textAlign,
Vec3 pos) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reset() |
protected void |
set(FontPacket src) |
void |
set(java.lang.String text,
Anchor anchor,
TextAlign textAlign,
Vec3 pos,
Area clipArea,
int fontSize,
float[] color,
boolean fixedLine) |
protected java.lang.String text
protected Anchor anchor
protected TextAlign textAlign
protected Vec3 pos
protected float[] color
protected int fontSize
protected boolean fixedLine
protected Area clipArea
protected final Array<java.lang.String> lines_
protected int cursorX_
protected int cursorY_
protected int numChars_
protected float cursorZ_
protected float scale_
public final void set(java.lang.String text,
Anchor anchor,
TextAlign textAlign,
Vec3 pos,
Area clipArea,
int fontSize,
float[] color,
boolean fixedLine)
protected void set(FontPacket src)
protected void reset()
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