public enum SmoothFlags extends java.lang.Enum<SmoothFlags>
| Enum Constant and Description |
|---|
IMAGE
Draw smooth image.
|
IMAGE_ANTI_ALIAS_ONLY
Antialias (smooth) images at low resolutions, but do not resample images when they do not match the target imaging resolution.
|
IMAGE_BICUBIC_RESAMPLE
Resample images using bicubic resampling, but do not antialias images.
|
IMAGE_BICUBIC_RESAMPLE_AND_ANTI_ALIAS
Enhanced image smoothing controls: Draw smooth image and resample using bicubic resampling.
|
IMAGE_LINEAR_RESAMPLE
Resample images using linear average subsampling, but do not antialias images.
|
LINE_ART
Draw smooth line art.
|
NONE
Do not smooth any drawn elements
|
TEXT
Draw smooth text.
|
TEXT_ANTI_ALIAS_ENABLE_DDR
Enhanced text antialiasing controls: Antialias (smooth) text using the DDR sub-pixel antialiasing algorithm.
|
TEXT_ANTI_ALIAS_ENABLE_PREVIEW
Enable special text "preview" rendering and antialiasing for better visual results when generating images at lower resolutions intended for on-screen viewing.
|
| Modifier and Type | Method and Description |
|---|---|
static SmoothFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SmoothFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmoothFlags NONE
public static final SmoothFlags TEXT
public static final SmoothFlags LINE_ART
public static final SmoothFlags IMAGE
public static final SmoothFlags IMAGE_BICUBIC_RESAMPLE_AND_ANTI_ALIAS
public static final SmoothFlags IMAGE_BICUBIC_RESAMPLE
public static final SmoothFlags IMAGE_LINEAR_RESAMPLE
public static final SmoothFlags IMAGE_ANTI_ALIAS_ONLY
This is not recommended for most callers.
public static final SmoothFlags TEXT_ANTI_ALIAS_ENABLE_DDR
public static final SmoothFlags TEXT_ANTI_ALIAS_ENABLE_PREVIEW
We recommend this for use for viewing applications at zoom levels of 150% or less, though you will want to experiment and decide for yourself.
Do not use this for non-viewing applications. Do not scale up or down the rendered image that is generated from drawing a page using this flag - it will look very blurry and unfocused.
public static SmoothFlags[] values()
for (SmoothFlags c : SmoothFlags.values()) System.out.println(c);
public static SmoothFlags 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 null