| Package | Description |
|---|---|
| com.badlogic.gdx.scenes.scene2d.ui | |
| com.badlogic.gdx.utils | |
| com.badlogic.gdx.utils.viewport |
| Modifier and Type | Method and Description |
|---|---|
void |
Image.setScaling(Scaling scaling) |
| Constructor and Description |
|---|
Image(Drawable drawable,
Scaling scaling)
Creates an image aligned center.
|
Image(Drawable drawable,
Scaling scaling,
int align) |
| Modifier and Type | Method and Description |
|---|---|
static Scaling |
Scaling.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scaling[] |
Scaling.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Scaling |
ScalingViewport.getScaling() |
| Modifier and Type | Method and Description |
|---|---|
void |
ScalingViewport.setScaling(Scaling scaling) |
| Constructor and Description |
|---|
ScalingViewport(Scaling scaling,
float worldWidth,
float worldHeight)
Creates a new viewport using a new
OrthographicCamera. |
ScalingViewport(Scaling scaling,
float worldWidth,
float worldHeight,
Camera camera) |