public enum ImageScaleBehavior extends Enum<ImageScaleBehavior>
| Enum Constant and Description |
|---|
FIT |
ORGIN |
SCALE_DOWN |
| Modifier and Type | Method and Description |
|---|---|
static ImageScaleBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageScaleBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageScaleBehavior SCALE_DOWN
public static final ImageScaleBehavior FIT
public static final ImageScaleBehavior ORGIN
public static ImageScaleBehavior[] values()
for (ImageScaleBehavior c : ImageScaleBehavior.values()) System.out.println(c);
public static ImageScaleBehavior 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 © 2007–2018 Andreas W. Bartels. All rights reserved.