Serializable
, Comparable<ImageType>
public enum ImageType extends Enum<ImageType>
It is possible that behavior may need to change between image types. For example background images do not require transparency and can use JPG, however SVG images do require transparency and must use PNG.
Enum Constant | Description |
---|---|
BACKGROUND |
Used in image_* text modes.
|
FORM |
Used for rasterising PDF forms (non XFA).
|
SHADE |
Used in svg_* text modes.
|
SVG_ALPHA_NOT_REQUIRED |
Used in svg_* text modes.
|
SVG_ALPHA_REQUIRED |
Used in svg_* text modes.
|
THUMBNAIL |
Used in the IDRViewer, or if thumbnails are enabled in the options.
|
Modifier and Type | Method | Description |
---|---|---|
static ImageType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImageType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageType BACKGROUND
public static final ImageType THUMBNAIL
public static final ImageType SVG_ALPHA_REQUIRED
public static final ImageType SVG_ALPHA_NOT_REQUIRED
public static final ImageType FORM
public static final ImageType SHADE
public static ImageType[] values()
for (ImageType c : ImageType.values()) System.out.println(c);
public static ImageType 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 2021 IDRsolutions ltd. All rights reserved.