| Package | Description |
|---|---|
| com.bonzaiengine.font | |
| com.bonzaiengine.ui | |
| com.bonzaiengine.ui.layout | |
| com.bonzaiengine.ui.widget |
| Modifier and Type | Field and Description |
|---|---|
protected Anchor |
FontPacket.anchor |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
float |
TextAlign.getOffset(Anchor anchor,
TextSize textSize) |
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 | Field and Description |
|---|---|
Anchor |
Constraint.anchor
Internal anchor of the
Widget. |
| Modifier and Type | Method and Description |
|---|---|
void |
PopupLayout.popAtPoint(Widget widget,
int x,
int y,
Anchor defaultAnchor,
Insets anchorInsetsOrNull)
Set location and location anchor for this
Widget. |
static void |
PopupLayout.popAtPoint(Widget widget,
int x,
int y,
Anchor defaultAnchor,
Insets anchorInsetsOrNull,
Viewport bounds) |
Constraint |
Constraint.setAnchor(Anchor anchor) |
| Modifier and Type | Method and Description |
|---|---|
void |
Widget.setLocationAnchor(Anchor locationAnchor) |
void |
Widget.setLocationRefAnchor(Anchor locationAnchorRef) |
void |
Label.setTextAnchor(Anchor textAnchor) |
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