public enum AlivcPreviewRotationEnum extends java.lang.Enum<AlivcPreviewRotationEnum>
Enum Constant and Description |
---|
ROTATION_0
无旋转
|
ROTATION_180
顺时针旋转180
|
ROTATION_270
顺时针旋转270
|
ROTATION_360
顺时针旋转360
|
ROTATION_90
顺时针旋转90
|
Modifier and Type | Method and Description |
---|---|
int |
getRotation()
获取枚举值
|
static AlivcPreviewRotationEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcPreviewRotationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcPreviewRotationEnum ROTATION_0
public static final AlivcPreviewRotationEnum ROTATION_90
public static final AlivcPreviewRotationEnum ROTATION_180
public static final AlivcPreviewRotationEnum ROTATION_270
public static final AlivcPreviewRotationEnum ROTATION_360
public static AlivcPreviewRotationEnum[] values()
for (AlivcPreviewRotationEnum c : AlivcPreviewRotationEnum.values()) System.out.println(c);
public static AlivcPreviewRotationEnum 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 int getRotation()