All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.nacular.doodle.animation.transition.FixedSpeedLinear.kt Maven / Gradle / Ivy

There is a newer version: 0.10.4
Show newest version
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