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