ImageFrameLayer

constructor(layer: ImageLayer, slice: BmpSlice, targetX: Int = 0, targetY: Int = 0, main: Boolean = true, includeInAtlas: Boolean = true, tilemap: TileMapData? = null)

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.

...