ImageFrame
open class ImageFrame(val index: Int, val time: TimeSpan = 0.seconds, val layerData: List<ImageFrameLayer> = emptyList()) : Extra
This class defines one frame of a sprite object like e.g. an aseprite image file. It contains info about all layer images which are used in that frame.
Parameters
index
The index of the frame within the sprite (e.g. aseprite file).
time
When this frame is used in an animation this defines the time the frame should be displayed.
layerData
This is a list of all layers which this frame contains.