| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private static final int | |
| private static final String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private BufferedImage | Returns: The extracted imageThe image file related to the page the region is in page, TextureAtlas.The region to extract region,The output directory outputDirFile, int padding (in pixels) to apply to the image padding)Extract an image from a texture atlas. |
| private BufferedImage | extractNinePatch(BufferedImage
The image file related to the page the region is in page, TextureAtlas.The region to extract region,Extract a ninepatch from a texture atlas, according to the android specification. |
| public static void | |
| private int | Returns: 0 If arguments are invalid, Number of arguments otherwise.Checks the command line arguments for correctness. |
| private void | |
| public void | |
| public void | splitAtlas(TextureAtlas.
Splits an atlas into seperate image and ninepatch files. |
| ATLAS_FILE_EXTENSION | back to summary |
|---|---|
| private static final String ATLAS_FILE_EXTENSION | |
| DEFAULT_OUTPUT_PATH | back to summary |
|---|---|
| private static final String DEFAULT_OUTPUT_PATH | |
| HELP | back to summary |
|---|---|
| private static final String HELP | |
| NINEPATCH_PADDING | back to summary |
|---|---|
| private static final int NINEPATCH_PADDING | |
| OUTPUT_TYPE | back to summary |
|---|---|
| private static final String OUTPUT_TYPE | |
| quiet | back to summary |
|---|---|
| private boolean quiet | |
| TextureUnpacker | back to summary |
|---|---|
| public TextureUnpacker() | |
| checkDirectoryValidity | back to summary |
|---|---|
| private boolean checkDirectoryValidity(String directory) | |
| extractImage | back to summary |
|---|---|
| private BufferedImage extractImage(BufferedImage page, TextureAtlas. Extract an image from a texture atlas.
| |
| extractNinePatch | back to summary |
|---|---|
| private BufferedImage extractNinePatch(BufferedImage page, TextureAtlas. Extract a ninepatch from a texture atlas, according to the android specification.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| parseArguments | back to summary |
|---|---|
| private int parseArguments(String[] args) Checks the command line arguments for correctness.
| |
| printExceptionAndExit | back to summary |
|---|---|
| private void printExceptionAndExit(Exception e) | |
| setQuiet | back to summary |
|---|---|
| public void setQuiet(boolean quiet) | |
| splitAtlas | back to summary |
|---|---|
| public void splitAtlas(TextureAtlas. Splits an atlas into seperate image and ninepatch files. | |