public enum PngColorType extends java.lang.Enum<PngColorType>
| Enum Constant and Description |
|---|
GREYSCALE |
GREYSCALE_WITH_ALPHA |
INDEXED_COLOR |
TRUE_COLOR |
TRUE_COLOR_WITH_ALPHA |
| Modifier and Type | Method and Description |
|---|---|
static PngColorType |
getColorType(int value) |
static PngColorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PngColorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PngColorType GREYSCALE
public static final PngColorType TRUE_COLOR
public static final PngColorType INDEXED_COLOR
public static final PngColorType GREYSCALE_WITH_ALPHA
public static final PngColorType TRUE_COLOR_WITH_ALPHA
public static PngColorType[] values()
for (PngColorType c : PngColorType.values()) System.out.println(c);
public static PngColorType 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 static PngColorType getColorType(int value)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"