public enum AdvancedRasterizationOptions extends Enum<AdvancedRasterizationOptions>
An enumeration to manage the advanced rasterization options to be applied.
| Enum Constant and Description |
|---|
Border
Add border line to imitate page scan effect.
|
Grayscale
Make page images grayscale to imitate grayscale scan.
|
Noise
Add random spots to rasterized page images.
|
Tilt
Tilt to incline the rasterized image to a random angle.
|
| Modifier and Type | Method and Description |
|---|---|
static AdvancedRasterizationOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdvancedRasterizationOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancedRasterizationOptions Border
Add border line to imitate page scan effect.
public static final AdvancedRasterizationOptions Grayscale
Make page images grayscale to imitate grayscale scan.
public static final AdvancedRasterizationOptions Noise
Add random spots to rasterized page images.
public static final AdvancedRasterizationOptions Tilt
Tilt to incline the rasterized image to a random angle.
public static AdvancedRasterizationOptions 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 static AdvancedRasterizationOptions[] values()
for (AdvancedRasterizationOptions c : AdvancedRasterizationOptions.values()) System.out.println(c);
Copyright © 2025. All rights reserved.