Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun extractBitmaps(bmp: Bitmap32, tilewidth: Int, tileheight: Int, columns: Int, tilecount: Int, spacing: Int, margin: Int): List<Bitmap32>
Link copied to clipboard
fun extractBmpSlices(bmp: Bitmap32, tilewidth: Int, tileheight: Int, columns: Int, tilecount: Int, spacing: Int, margin: Int): List<BmpSlice32>
Link copied to clipboard
fun fromBitmaps(tilewidth: Int, tileheight: Int, bitmaps: List<Bitmap32>, border: Int = 1, mipmaps: Boolean = false): TileSet
Link copied to clipboard
fun fromBitmapSlices(tilewidth: Int, tileheight: Int, bmpSlices: List<BmpSlice32>, border: Int = 1, mipmaps: Boolean = false): TileSet
Link copied to clipboard
operator fun invoke(vararg tiles: TileSetTileInfo, width: Int = tiles.first().slice.width, height: Int = tiles.first().slice.height): TileSet
operator fun invoke(tiles: List<TileSetTileInfo>, width: Int = tiles.first().slice.width, height: Int = tiles.first().slice.height): TileSet
operator fun invoke(base: BmpSlice, tileWidth: Int = base.width, tileHeight: Int = base.height, columns: Int = -1, totalTiles: Int = -1): TileSet