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