public static enum PngExporter.BitPixelValues extends java.lang.Enum<PngExporter.BitPixelValues>
Enum Constant and Description |
---|
BaseColor16
16 base colors defined with a palette, image data contains 2 bits/pixel
|
BaseColor256
256 colors defined with a palette, image data contains 2 bits/pixel
|
BlackWhite
Black and white colors defined with a palette, image data contains 1 bit/pixel
|
BlackWhiteGray
Black, white, light, and dark gray colors defined with a palette, image data contains 2
bits/pixel
|
RGBColors
image data contains 3*8 bits/pixel RGB colors, without palette.
|
RGBColorsWithAlphaChannel
image data contains 3*8 bits/pixel RGB colors, and 8 bits/pixel alpha channel, without
palette.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static PngExporter.BitPixelValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PngExporter.BitPixelValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PngExporter.BitPixelValues BlackWhite
public static final PngExporter.BitPixelValues BlackWhiteGray
public static final PngExporter.BitPixelValues BaseColor16
public static final PngExporter.BitPixelValues BaseColor256
public static final PngExporter.BitPixelValues RGBColors
public static final PngExporter.BitPixelValues RGBColorsWithAlphaChannel
public static PngExporter.BitPixelValues[] values()
for (PngExporter.BitPixelValues c : PngExporter.BitPixelValues.values()) System.out.println(c);
public static PngExporter.BitPixelValues 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<PngExporter.BitPixelValues>