Contents

duration

The elapsed time for one complete rotation.

Declaration

var duration: TimeInterval { get }

Discussion

The framework sets a value for this property depending on the underlying animation data and the specified AnimationAction/speed.

You can override the default duration by defining AnimationAction/trimStart, AnimationAction/trimEnd, or AnimationAction/trimDuration.