public static enum PixmapPackerIO.ImageFormat extends 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 |
---|---|
String |
getExtension()
Returns the file extension for the image format.
|
static PixmapPackerIO.ImageFormat |
valueOf(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(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 String getExtension()
Copyright © 2014. All rights reserved.