enum AnimationCurve
Swift
enum AnimationCurve
How an animation's progress maps onto time.
Sources/LavaUI/Animation.swift:32
Cases
case linear
Constant speed from start to end.
Sources/LavaUI/Animation.swift:34
case easeOut
Fast out, settling in — the right default for a press or hover, where the response should feel immediate and the settle should not.
Sources/LavaUI/Animation.swift:37
case easeInOut
Slow at both ends, fastest in the middle.
Sources/LavaUI/Animation.swift:39
case spring(response: Double, dampingFraction: Double)
A damped harmonic response. response is the undamped period in
seconds; lower values react faster. Values below one for
dampingFraction overshoot, one is critically damped, and values above
one settle without overshoot.
Sources/LavaUI/Animation.swift:44