Instance Method

getKeyframeTime(for:)

Gets the time for a keyframe in the sequence.

Declaration

func getKeyframeTime(for index: Int) -> CGFloat

Parameters

index

The index of the keyframe.

Return Value

The time value for the keyframe.

See Also

Sequence Information

func count() -> Int

The number of keyframes in the sequence.

func getKeyframeValue(for: Int) -> Any

Gets the value for a keyframe in the sequence.