public static enum VideoFrame.RotationAngle extends Enum<VideoFrame.RotationAngle>
| Enum Constant and Description |
|---|
ROTATION_0 |
ROTATION_180 |
ROTATION_270 |
ROTATION_90 |
| Modifier and Type | Method and Description |
|---|---|
static VideoFrame.RotationAngle |
fromInt(int rotation) |
int |
getValue() |
static VideoFrame.RotationAngle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VideoFrame.RotationAngle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoFrame.RotationAngle ROTATION_0
public static final VideoFrame.RotationAngle ROTATION_90
public static final VideoFrame.RotationAngle ROTATION_180
public static final VideoFrame.RotationAngle ROTATION_270
public static VideoFrame.RotationAngle[] values()
for (VideoFrame.RotationAngle c : VideoFrame.RotationAngle.values()) System.out.println(c);
public static VideoFrame.RotationAngle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static VideoFrame.RotationAngle fromInt(int rotation)
4.0.1