keyframed

fun <S : Drawable> S.keyframed(animation: Animation, frames: KeyFrames<S>.() -> Unit)

create a keyframe set for this component.

click here