MotionAnimation

@Stable
sealed class MotionAnimation(source)

Motion animation parameters.

Inheritors

Types

Link copied to clipboard
class SpringPhysics(val stiffness: Int = 1, val damping: Int = 10, val mass: Double = 1.0, val velocity: Double? = null, val restSpeed: Double = 0.1, val restDelta: Double = 0.01, delay: Duration = Duration.ZERO, repeat: Int = 0, repeatType: RepeatType? = null, repeatDelay: Duration? = null) : MotionAnimation

Spring animation based on physics.

Link copied to clipboard
class SpringTime(val duration: Duration = 1.seconds, val bounce: Double = 0.25, val visualDuration: Duration? = null, delay: Duration = Duration.ZERO, repeat: Int = 0, repeatType: RepeatType? = null, repeatDelay: Duration? = null) : MotionAnimation

Spring animation based on time.

Link copied to clipboard
class Tween(val duration: Duration = 1.seconds, val ease: MotionEasingFunction = MotionEasingFunction.EaseInOut, val cubicBezier: List<Double>? = null, delay: Duration = Duration.ZERO, repeat: Int = 0, repeatType: RepeatType? = null, repeatDelay: Duration? = null) : MotionAnimation

Tween animation.

Properties

Link copied to clipboard
Link copied to clipboard
val repeat: Int
Link copied to clipboard
Link copied to clipboard