ImageFrame

constructor(index: Int, time: TimeSpan = 0.seconds, layerData: List<ImageFrameLayer> = emptyList())

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.