public enum NImageRotateType extends Enum<NImageRotateType> implements com.neurotec.lang.NEnum
| Enum Constant and Description |
|---|
ROTATE_180
Rotates image by 180 degrees.
|
ROTATE_270
Rotates image by 270 degrees.
|
ROTATE_90
Rotates image by 90 degrees.
|
ROTATE_NONE
Indicates that image should not be rotated.
|
| Modifier and Type | Method and Description |
|---|---|
static NImageRotateType |
get(int value) |
int |
getValue()
Gets the enumeration value of the current object.
|
boolean |
isValid() |
static NImageRotateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NImageRotateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NImageRotateType ROTATE_NONE
public static final NImageRotateType ROTATE_90
public static final NImageRotateType ROTATE_180
public static final NImageRotateType ROTATE_270
public static NImageRotateType[] values()
for (NImageRotateType c : NImageRotateType.values()) System.out.println(c);
public static NImageRotateType 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 static NImageRotateType get(int value)
public int getValue()
getValue in interface com.neurotec.lang.NEnumpublic boolean isValid()
Copyright © 2016 Neurotechnology. All rights reserved.