commonMain.io.nacular.doodle.animation.transition.FixedSpeedLinear.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of animation-js Show documentation
Show all versions of animation-js Show documentation
A pure Kotlin, UI framework for the Web
package io.nacular.doodle.animation.transition
import io.nacular.doodle.animation.Moment
import io.nacular.doodle.animation.Velocity
import io.nacular.measured.units.Measure
import io.nacular.measured.units.Time
import io.nacular.measured.units.Units
import io.nacular.measured.units.abs
import io.nacular.measured.units.div
import io.nacular.measured.units.times
/**
* Created by Nicholas Eddy on 3/30/18.
*/
public class FixedSpeedLinear(private val speed: Measure>, private val endValue: Measure): Transition {
override fun duration(initial: Moment): Measure
© 2015 - 2025 Weber Informatics LLC | Privacy Policy