EaseCurve
public enum EaseCurve
The acceleration pattern of an ease.
-
No acceleration pattern, i.e., linear.
Declaration
Swift
case none
-
An acceleration pattern that is more condensed in the beginning and expands as it continues. This mimics the motion of starting slow then speeding up.
Declaration
Swift
case `in`
-
An acceleration pattern that is more expanded in the beginning and condenses as it continues. This mimics the motion of starting fast then slowing down.
Declaration
Swift
case out
-
An acceleration pattern that is more condensed in the beginning, expands as it continues, then condenses again near the end. This mimics the motion of starting slow, speeding up, then slowing down.
Declaration
Swift
case inOut
-
A custom acceleration pattern.
Declaration
Swift
case custom