create

fun create(durationNanos: Long, start: Float = 0.0f, end: Float = 1.0f): Animation

create an animation based on the type.

See also