public class PixmapPackerIO
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PixmapPackerIO.ImageFormat
Image formats which can be used when saving a PixmapPacker.
|
static class |
PixmapPackerIO.SaveParameters
Additional parameters which will be used when writing a PixmapPacker.
|
| Constructor and Description |
|---|
PixmapPackerIO() |
| Modifier and Type | Method and Description |
|---|---|
void |
save(FileHandle file,
PixmapPacker packer)
Saves the provided PixmapPacker to the provided file.
|
void |
save(FileHandle file,
PixmapPacker packer,
PixmapPackerIO.SaveParameters parameters)
Saves the provided PixmapPacker to the provided file.
|
public void save(FileHandle file, PixmapPacker packer) throws java.io.IOException
PixmapPackerIO.SaveParameters will be used.file - the file to which the atlas descriptor will be written, images will be written as siblingspacker - the PixmapPacker to be writtenjava.io.IOException - if the atlas file can not be writtenpublic void save(FileHandle file, PixmapPacker packer, PixmapPackerIO.SaveParameters parameters) throws java.io.IOException
file - the file to which the atlas descriptor will be written, images will be written as siblingspacker - the PixmapPacker to be writtenparameters - the SaveParameters specifying how to save the PixmapPackerjava.io.IOException - if the atlas file can not be written