Enum BMPOutputDevice.BMPType
- java.lang.Object
-
- java.lang.Enum<BMPOutputDevice.BMPType>
-
- com.levigo.jadice.server.ghostscript.BMPOutputDevice.BMPType
-
- All Implemented Interfaces:
Serializable
,Comparable<BMPOutputDevice.BMPType>
- Enclosing class:
- BMPOutputDevice
public static enum BMPOutputDevice.BMPType extends Enum<BMPOutputDevice.BMPType>
This enum determines the type of BMP that is generated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Grayscale
G4 BMP encoding (CCITT T.6)Indexed4Bit
4-Bit indexed color.Indexed8Bit
8-Bit indexed color.Mono
G3 BMP encoding (CCITT T.4)Sep1
1-bit-per-plane separated CMYK color.Sep8
8-bit-per-plane separated CMYK color.TrueColor
24-Bit true color.TrueColor32
32-Bit true color.
-
Field Summary
Fields Modifier and Type Field Description String
deviceName
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BMPOutputDevice.BMPType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BMPOutputDevice.BMPType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Mono
public static final BMPOutputDevice.BMPType Mono
G3 BMP encoding (CCITT T.4)
-
Grayscale
public static final BMPOutputDevice.BMPType Grayscale
G4 BMP encoding (CCITT T.6)
-
Sep1
public static final BMPOutputDevice.BMPType Sep1
1-bit-per-plane separated CMYK color. (see GNU ghostscript'sgdevbmp.c
)
-
Sep8
public static final BMPOutputDevice.BMPType Sep8
8-bit-per-plane separated CMYK color. (see GNU ghostscript'sgdevbmp.c
)
-
Indexed4Bit
public static final BMPOutputDevice.BMPType Indexed4Bit
4-Bit indexed color.
-
Indexed8Bit
public static final BMPOutputDevice.BMPType Indexed8Bit
8-Bit indexed color.
-
TrueColor
public static final BMPOutputDevice.BMPType TrueColor
24-Bit true color.
-
TrueColor32
public static final BMPOutputDevice.BMPType TrueColor32
32-Bit true color.
-
-
Field Detail
-
deviceName
public final String deviceName
-
-
Method Detail
-
values
public static BMPOutputDevice.BMPType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BMPOutputDevice.BMPType c : BMPOutputDevice.BMPType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BMPOutputDevice.BMPType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-