public static enum PNGDecoder.Format extends Enum<PNGDecoder.Format>
Enum Constant and Description |
---|
ABGR |
ALPHA |
BGRA |
LUMINANCE |
LUMINANCE_ALPHA |
RGB |
RGBA |
Modifier and Type | Method and Description |
---|---|
int |
getNumComponents() |
boolean |
isHasAlpha() |
static PNGDecoder.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PNGDecoder.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PNGDecoder.Format ALPHA
public static final PNGDecoder.Format LUMINANCE
public static final PNGDecoder.Format LUMINANCE_ALPHA
public static final PNGDecoder.Format RGB
public static final PNGDecoder.Format RGBA
public static final PNGDecoder.Format BGRA
public static final PNGDecoder.Format ABGR
public static PNGDecoder.Format[] values()
for (PNGDecoder.Format c : PNGDecoder.Format.values()) System.out.println(c);
public static PNGDecoder.Format 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 nullpublic int getNumComponents()
public boolean isHasAlpha()
Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.