public static interface TileSetTrimmer.TrimMetricsReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
trimmedTile(int tileIndex,
int imageX,
int imageY,
int trimX,
int trimY,
int trimWidth,
int trimHeight)
Called for each trimmed tile.
|
void trimmedTile(int tileIndex,
int imageX,
int imageY,
int trimX,
int trimY,
int trimWidth,
int trimHeight)
tileIndex - the index of the tile in the original tileset.imageX - the x offset into the newly created tileset image
of the trimmed image data.imageY - the y offset into the newly created tileset image
of the trimmed image data.trimX - the x offset into the untrimmed tile image where
the trimmed data begins.trimY - the y offset into the untrimmed tile image where
the trimmed data begins.trimWidth - the width of the trimmed tile image.trimHeight - the height of the trimmed tile image.Copyright © 2015. All rights reserved.