interface ValueTransformer<T, V>
Interface that can transform type T to another type V. This is
necessary when the original value type of an animation is different than the desired value
type.
T - The animation's original value type.
V - The animation's transformed value type.
abstract fun transform(value: T): V
Transforms a value from one type to another. |
interface BidirectionalValueTransformer<T, V> : Animation.ValueTransformer<T, V>
Interface that can transform type |