public enum ImageQualityMode extends java.lang.Enum<ImageQualityMode>
Specifies the quality of the created barcode image. Only appliable to JPEG format, such as save as .jpg files
Enum Constant and Description |
---|
ANTI_ALIAS
Specifeis Anti-aliased image rendering.
|
DEFAULT
Specifies No anti-aliasing image rendering.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getImageQualityModeName(int imageQuality)
Gets ImageQualityMode value name
|
static int |
getImageQualityModeValue(java.lang.String imageQuality)
Gets ImageQualityMode value
|
int |
getValue() |
static ImageQualityMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageQualityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageQualityMode DEFAULT
Specifies No anti-aliasing image rendering.
public static final ImageQualityMode ANTI_ALIAS
Specifeis Anti-aliased image rendering. Much better quality due to antialiasing, but at a higher performance cost.
public static ImageQualityMode[] values()
for (ImageQualityMode c : ImageQualityMode.values()) System.out.println(c);
public static ImageQualityMode 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 int getValue()
public static java.lang.String getImageQualityModeName(int imageQuality)
imageQuality
- ImageQualityMode valuepublic static int getImageQualityModeValue(java.lang.String imageQuality)
imageQuality
- ImageQualityMode value name