Instance Property

controlPoint1

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

Declaration

var controlPoint1: CGPoint { get }

Discussion

This parameter contains the point you specified at initialization time. If you initialized the object with a UIView.AnimationCurve value instead, this property is set to CGPointZero.

See Also

Getting the Timing Parameters

var animationCurve: UIView.AnimationCurve

The standard UIKit animation curve to use for timing.

var controlPoint2: CGPoint

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software