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