animEase
public struct animEase
Easing value. Stores two points for cubic easing calculation.
-
Creates a custom easing value for cubic easing calculation.
Declaration
Swift
public static func custom(point1: CGPoint, point2: CGPoint) -> animEaseParameters
point1First handle point.
point2Second handle point.
Return Value
Easing value.
-
Declaration
Swift
public static let easeInSine = animEase(point1: CGPoint(x: 0.47, y: 0), point2: CGPoint(x: 0.745, y: 0.715)) -
Declaration
Swift
public static let easeOutSine = animEase(point1: CGPoint(x: 0.39, y: 0.575), point2: CGPoint(x: 0.565, y: 1)) -
Declaration
Swift
public static let easeInOutSine = animEase(point1: CGPoint(x: 0.445, y: 0.05), point2: CGPoint(x: 0.55, y: 0.95)) -
Declaration
Swift
public static let easeInQuad = animEase(point1: CGPoint(x: 0.55, y: 0.085), point2: CGPoint(x: 0.68, y: 0.53)) -
Declaration
Swift
public static let easeOutQuad = animEase(point1: CGPoint(x: 0.25, y: 0.46), point2: CGPoint(x: 0.45, y: 0.94)) -
Declaration
Swift
public static let easeInOutQuad = animEase(point1: CGPoint(x: 0.455, y: 0.03), point2: CGPoint(x: 0.515, y: 0.955)) -
Declaration
Swift
public static let easeInCubic = animEase(point1: CGPoint(x: 0.55, y: 0.055), point2: CGPoint(x: 0.675, y: 0.19)) -
Declaration
Swift
public static let easeOutCubic = animEase(point1: CGPoint(x: 0.215, y: 0.61), point2: CGPoint(x: 0.355, y: 1)) -
Declaration
Swift
public static let easeInOutCubic = animEase(point1: CGPoint(x: 0.645, y: 0.045), point2: CGPoint(x: 0.355, y: 1)) -
Declaration
Swift
public static let easeInQuart = animEase(point1: CGPoint(x: 0.895, y: 0.03), point2: CGPoint(x: 0.685, y: 0.22)) -
Declaration
Swift
public static let easeOutQuart = animEase(point1: CGPoint(x: 0.165, y: 0.84), point2: CGPoint(x: 0.44, y: 1)) -
Declaration
Swift
public static let easeInOutQuart = animEase(point1: CGPoint(x: 0.77, y: 0), point2: CGPoint(x: 0.175, y: 1)) -
Declaration
Swift
public static let easeInQuint = animEase(point1: CGPoint(x: 0.755, y: 0.05), point2: CGPoint(x: 0.855, y: 0.06)) -
Declaration
Swift
public static let easeOutQuint = animEase(point1: CGPoint(x: 0.23, y: 1), point2: CGPoint(x: 0.32, y: 1)) -
Declaration
Swift
public static let easeInOutQuint = animEase(point1: CGPoint(x: 0.86, y: 0), point2: CGPoint(x: 0.07, y: 1)) -
Declaration
Swift
public static let easeInExpo = animEase(point1: CGPoint(x: 0.95, y: 0.05), point2: CGPoint(x: 0.795, y: 0.035)) -
Declaration
Swift
public static let easeOutExpo = animEase(point1: CGPoint(x: 0.19, y: 1), point2: CGPoint(x: 0.22, y: 1)) -
Declaration
Swift
public static let easeInOutExpo = animEase(point1: CGPoint(x: 1, y: 0), point2: CGPoint(x: 0, y: 1)) -
Declaration
Swift
public static let easeInCirc = animEase(point1: CGPoint(x: 0.6, y: 0.04), point2: CGPoint(x: 0.98, y: 0.335)) -
Declaration
Swift
public static let easeOutCirc = animEase(point1: CGPoint(x: 0.075, y: 0.82), point2: CGPoint(x: 0.165, y: 1)) -
Declaration
Swift
public static let easeInOutCirc = animEase(point1: CGPoint(x: 0.785, y: 0.135), point2: CGPoint(x: 0.15, y: 0.86)) -
Declaration
Swift
public static let easeInBack = animEase(point1: CGPoint(x: 0.6, y: -0.28), point2: CGPoint(x: 0.735, y: 0.045)) -
Declaration
Swift
public static let easeOutBack = animEase(point1: CGPoint(x: 0.175, y: 0.885), point2: CGPoint(x: 0.32, y: 1.275)) -
Declaration
Swift
public static let easeInOutBack = animEase(point1: CGPoint(x: 0.68, y: -0.55), point2: CGPoint(x: 0.265, y: 1.55))
-
Checks equality between easing types.
Declaration
Swift
public static func == (lhs: animEase, rhs: animEase) -> BoolParameters
lhsFirst easing value.
rhsSecond easing value.
Return Value
Return if two easing values are equal or not.
animEase Structure Reference