| Enum Constant and Description | 
|---|
| FILL | 
| FILL_X | 
| FILL_Y | 
| FIT | 
| NONE | 
| STRETCH | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(com.badlogic.gdx.math.Vector2 sizeResult,
     com.badlogic.gdx.math.Vector2 scaleResult,
     boolean powerOfTwo,
     float sourceWidth,
     float sourceHeight,
     float targetWidth,
     float targetHeight) | 
| static Scaling | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static Scaling[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Scaling NONE
public static final Scaling FIT
public static final Scaling FILL
public static final Scaling FILL_X
public static final Scaling FILL_Y
public static final Scaling STRETCH
public static Scaling[] values()
for (Scaling c : Scaling.values()) System.out.println(c);
public static Scaling valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void apply(com.badlogic.gdx.math.Vector2 sizeResult,
                  com.badlogic.gdx.math.Vector2 scaleResult,
                  boolean powerOfTwo,
                  float sourceWidth,
                  float sourceHeight,
                  float targetWidth,
                  float targetHeight)