| Package | Description |
|---|---|
| com.bonzaiengine.font | |
| com.bonzaiengine.ui | |
| com.bonzaiengine.ui.widget |
| Modifier and Type | Method and Description |
|---|---|
Anchor |
FontPacket.getAnchor() |
static Anchor |
Anchor.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Anchor[] |
Anchor.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,
Vec3 pos,
Area clipArea,
int fontSize,
float[] color,
boolean fixedLine,
boolean spaceAtStart) |
| Constructor and Description |
|---|
FontPacket(java.lang.String text,
Anchor anchor,
Vec3 pos) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpriteRenderer.renderText(IFont font,
int fontSize,
boolean fixedLine,
boolean spaceAtStart,
java.lang.String text,
Anchor anchor,
int x,
int y,
Area clipArea,
float[] color,
float fade)
Render a text
|
| Modifier and Type | Field and Description |
|---|---|
Anchor |
Constraint.anchor
Internal anchor of the
Widget. |
| Modifier and Type | Method and Description |
|---|---|
Anchor |
Widget.getLocationAnchor() |
Anchor |
Widget.getLocationRefAnchor() |
Anchor |
Label.getTextAnchor() |
| Modifier and Type | Method and Description |
|---|---|
Constraint |
Constraint.setAnchor(Anchor anchor) |
void |
Widget.setLocationAnchor(Anchor locationAnchor) |
void |
Widget.setLocationAndAnchorInViewport(int x,
int y,
Anchor defaultAnchor,
Insets anchorInsetsOrNull,
Viewport viewport)
Set location and location anchor for this
Widget. |
void |
Widget.setLocationRefAnchor(Anchor locationAnchorRef) |
void |
Label.setTextAnchor(Anchor textAnchor) |
| Constructor and Description |
|---|
Constraint(int gridX,
int gridY,
int width,
int height,
int weightX,
int weightY,
boolean fillWidth,
boolean fillHeight,
Anchor anchor) |
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com