vectorize
abstract fun <V : AnimationVector> vectorize(typeConverter: TwoWayConverter<T, V>): VectorizedDecayAnimationSpec<V>
Creates a com.jakewharton.mosaic.animation.VectorizedDecayAnimationSpec with the given com.jakewharton.mosaic.animation.TwoWayConverter.
The underlying animation system operates on AnimationVectors. T will be converted to AnimationVector to animate. com.jakewharton.mosaic.animation.VectorizedDecayAnimationSpec describes how the converted AnimationVector should be animated.
Parameters
typeConverter
converts the type T from and to AnimationVector type