public class PixmapPackerIO extends 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 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 writtenIOException - if the atlas file can not be writtenpublic void save(FileHandle file, PixmapPacker packer, PixmapPackerIO.SaveParameters parameters) throws 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 PixmapPackerIOException - if the atlas file can not be writtenCopyright © 2021. All rights reserved.