SpringBoundary
@ExperimentalMotionApi
class SpringBoundary
Behavior of the spring as it crosses its target position. The target position may be the start or end of the Transition.
Summary
Public companion properties |
|
|---|---|
SpringBoundary |
Bouncing motion whenever it crosses the target position. |
SpringBoundary |
Bouncing motion when the target position is at the end of the |
SpringBoundary |
Bouncing motion when the target position is at the start of the |
SpringBoundary |
The default Spring behavior, it will overshoot around the target position. |
Public companion properties
BounceBoth
val BounceBoth: SpringBoundary
Bouncing motion whenever it crosses the target position. This basically guarantees that the spring motion will never overshoot.
BounceEnd
val BounceEnd: SpringBoundary
Bouncing motion when the target position is at the end of the Transition. Otherwise, it will overshoot.
BounceStart
val BounceStart: SpringBoundary
Bouncing motion when the target position is at the start of the Transition. Otherwise, it will overshoot.
Overshoot
val Overshoot: SpringBoundary
The default Spring behavior, it will overshoot around the target position.