Package-level declarations
Types
Link copied to clipboard
open class ImageAnimationView<T : SmoothedBmpSlice>(animation: ImageAnimation? = null, direction: ImageAnimation.Direction? = null, val createImage: () -> T) : Container, Playable, PixelAnchorable, Anchorable
Link copied to clipboard
open class ImageDataView(data: ImageData? = null, animation: String? = null, playing: Boolean = false, smoothing: Boolean = true) : Container, PixelAnchorable, Anchorable
Link copied to clipboard
interface PlayableWithName
Functions
Link copied to clipboard
fun ImageAnimationView(animation: ImageAnimation? = null, direction: ImageAnimation.Direction? = null): ImageAnimationView<Image>
Link copied to clipboard
inline fun Container.imageAnimationView(animation: ImageAnimation? = null, direction: ImageAnimation.Direction? = null, block: ImageAnimationView<Image>.() -> Unit = {}): ImageAnimationView<Image>
Link copied to clipboard
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.