public enum ImageQuality extends Enum<ImageQuality>
Enum Constant and Description |
---|
QUALITY_128 |
QUALITY_16 |
QUALITY_32 |
QUALITY_512 |
QUALITY_64 |
QUALITY_BEST |
Modifier and Type | Method and Description |
---|---|
int |
getSize() |
static ImageQuality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageQuality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageQuality QUALITY_16
public static final ImageQuality QUALITY_32
public static final ImageQuality QUALITY_64
public static final ImageQuality QUALITY_128
public static final ImageQuality QUALITY_512
public static final ImageQuality QUALITY_BEST
public static ImageQuality[] values()
for (ImageQuality c : ImageQuality.values()) System.out.println(c);
public static ImageQuality 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 int getSize()
Copyright © 2017. All rights reserved.