ImageFrameLayer
open class ImageFrameLayer(val layer: ImageLayer, slice: BmpSlice, val targetX: Int = 0, val targetY: Int = 0, val main: Boolean = true, val includeInAtlas: Boolean = true, val tilemap: TileMapData? = null)
This class is used to store the layer image from e.g. an aseprite image file.
Parameters
layer
Stores the index and the name of the layer.
slice
This is the actual bitmap image.
targetX
X offset in pixel from the top left corner of the overall image.
targetY
Y offset in pixel from the top left corner of the overall image. Offsets are used to crop empty space around the sprite images.
...
Constructors
Link copied to clipboard
constructor(layer: ImageLayer, slice: BmpSlice, targetX: Int = 0, targetY: Int = 0, main: Boolean = true, includeInAtlas: Boolean = true, tilemap: TileMapData? = null)