public enum EncodeHintType extends Enum<EncodeHintType>
Enum Constant and Description |
---|
CHARACTER_SET
Specifies what character encoding to use where applicable (type
String ) |
DATA_MATRIX_SHAPE
Specifies the matrix shape for Data Matrix (type
SymbolShapeHint ) |
ERROR_CORRECTION
Specifies what degree of error correction to use, for example in QR Codes.
|
MARGIN
Specifies margin, in pixels, to use when generating the barcode.
|
MAX_SIZE
Specifies a maximum barcode size (type
Dimension ). |
MIN_SIZE
Specifies a minimum barcode size (type
Dimension ). |
PDF417_COMPACT
Specifies whether to use compact mode for PDF417 (type
Boolean ). |
PDF417_COMPACTION
Specifies what compaction mode to use for PDF417 (type
Compaction ). |
PDF417_DIMENSIONS
Specifies the minimum and maximum number of rows and columns for PDF417 (type
Dimensions ). |
Modifier and Type | Method and Description |
---|---|
static EncodeHintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodeHintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodeHintType ERROR_CORRECTION
ErrorCorrectionLevel
.
For Aztec it is of type Integer
, representing the minimal percentage of error correction words.
Note: an Aztec symbol should have a minimum of 25% EC words.public static final EncodeHintType CHARACTER_SET
String
)public static final EncodeHintType DATA_MATRIX_SHAPE
SymbolShapeHint
)public static final EncodeHintType MIN_SIZE
Dimension
). Only applicable to Data Matrix now.public static final EncodeHintType MAX_SIZE
Dimension
). Only applicable to Data Matrix now.public static final EncodeHintType MARGIN
Integer
).public static final EncodeHintType PDF417_COMPACT
Boolean
).public static final EncodeHintType PDF417_COMPACTION
Compaction
).public static final EncodeHintType PDF417_DIMENSIONS
Dimensions
).public static EncodeHintType[] values()
for (EncodeHintType c : EncodeHintType.values()) System.out.println(c);
public static EncodeHintType 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-2014. All Rights Reserved.