vectorize
abstract override fun <V : AnimationVector> vectorize(converter: TwoWayConverter<T, V>): VectorizedDurationBasedAnimationSpec<V>
Creates a com.jakewharton.mosaic.animation.VectorizedAnimationSpec 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.VectorizedAnimationSpec describes how the converted AnimationVector should be animated. E.g. The animation could simply interpolate between the start and end values (i.e.TweenSpec), or apply spring physics to produce the motion (i.e. SpringSpec), etc)
Parameters
converter
converts the type T from and to AnimationVector type