public static enum FitInstruction.Mode extends Enum<FitInstruction.Mode>
FitInstruction
(fit by width, height or both).Enum Constant and Description |
---|
FIT_BOTH |
FIT_HEIGHT |
FIT_WIDTH |
Modifier and Type | Method and Description |
---|---|
static FitInstruction.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FitInstruction.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FitInstruction.Mode FIT_WIDTH
public static final FitInstruction.Mode FIT_HEIGHT
public static final FitInstruction.Mode FIT_BOTH
public static FitInstruction.Mode[] values()
for (FitInstruction.Mode c : FitInstruction.Mode.values()) System.out.println(c);
public static FitInstruction.Mode 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 nullCopyright © 2024 levigo holding gmbh. All rights reserved.