java.io.Serializable, java.lang.Comparable<GPUImage.ScaleType>public static enum GPUImage.ScaleType extends java.lang.Enum<GPUImage.ScaleType>
| Enum Constant | Description |
|---|---|
CENTER_CROP |
|
CENTER_INSIDE |
| Modifier and Type | Method | Description |
|---|---|---|
static GPUImage.ScaleType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static GPUImage.ScaleType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPUImage.ScaleType CENTER_INSIDE
public static final GPUImage.ScaleType CENTER_CROP
public static GPUImage.ScaleType[] values()
for (GPUImage.ScaleType c : GPUImage.ScaleType.values()) System.out.println(c);
public static GPUImage.ScaleType 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 null