public static enum PixmapPackerIO.ImageFormat extends java.lang.Enum<PixmapPackerIO.ImageFormat>
Enum Constant and Description |
---|
CIM
A simple compressed image format which is libgdx specific.
|
PNG
A standard compressed image format which is not libgdx specific.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension()
Returns the file extension for the image format.
|
static PixmapPackerIO.ImageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PixmapPackerIO.ImageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixmapPackerIO.ImageFormat CIM
public static final PixmapPackerIO.ImageFormat PNG
public static PixmapPackerIO.ImageFormat[] values()
for (PixmapPackerIO.ImageFormat c : PixmapPackerIO.ImageFormat.values()) System.out.println(c);
public static PixmapPackerIO.ImageFormat 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 getExtension()