Link Search Menu Expand Document

CubicTimingParameters

The timing information for animations in the form of a cubic Bézier curve.

public class CubicTimingParameters 

Initializers

init()

Initializes the object with the system’s default timing curve.

public init() 

init(animationCurve:)

Initializes the object with the specified builtin timing curve.

public init(animationCurve curve: View.AnimationCurve) 

init(controlPoint1:controlPoint2:)

Initializes the object with the specified control points for a cubic Bézier curve.

public init(controlPoint1 point1: Point, controlPoint2 point2: Point) 

Properties

animationCurve

The standard builtin animation curve to use for timing.

public private(set) var animationCurve: View.AnimationCurve

controlPoint1

The first control point for the cubic Bézier curve.

public private(set) var controlPoint1: Point

controlPoint2

The second control point of the cubic Bézier curve.

public private(set) var controlPoint2: Point