imageDataView

inline fun Container.imageDataView(data: ImageData? = null, animation: String? = null, playing: Boolean = false, smoothing: Boolean = true, block: ImageDataView.() -> Unit = {}): ImageDataView

With imageDataView it is possible to display an image inside a Container or View. It supports layers and animations. Animations consist of a series of frames which are defined e.g. by tag names in Aseprite files.

The image can be repeating in X and/or Y direction. That needs to be enabled by setting repeating to true. The repeating values can be set per layer as repeatX and repeatY.