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)

Properties

Link copied to clipboard
val area: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val main: Boolean = true
Link copied to clipboard
Link copied to clipboard
val targetX: Int = 0
Link copied to clipboard
val targetY: Int = 0
Link copied to clipboard
val tilemap: TileMapData? = null
Link copied to clipboard
val width: Int