|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ImageHeaderParser.ImageType>
com.bumptech.glide.load.resource.bitmap.ImageHeaderParser.ImageType
public static enum ImageHeaderParser.ImageType
The format of the image data including whether or not the image may include transparent pixels.
| Enum Constant Summary | |
|---|---|
GIF
GIF type. |
|
JPEG
JPG type. |
|
PNG
PNG type without alpha. |
|
PNG_A
PNG type with alpha. |
|
UNKNOWN
Unrecognized type. |
|
| Method Summary | |
|---|---|
boolean |
hasAlpha()
|
static ImageHeaderParser.ImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ImageHeaderParser.ImageType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ImageHeaderParser.ImageType GIF
public static final ImageHeaderParser.ImageType JPEG
public static final ImageHeaderParser.ImageType PNG_A
public static final ImageHeaderParser.ImageType PNG
public static final ImageHeaderParser.ImageType UNKNOWN
| Method Detail |
|---|
public static ImageHeaderParser.ImageType[] values()
for (ImageHeaderParser.ImageType c : ImageHeaderParser.ImageType.values()) System.out.println(c);
public static ImageHeaderParser.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 name
NullPointerException - if the argument is nullpublic boolean hasAlpha()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||