StartOffset

This class defines a start offset for repeatable and infiniteRepeatable. There are two types of start offsets: StartOffsetType.Delay and StartOffsetType.FastForward. StartOffsetType.Delay delays the start of the animation, whereas StartOffsetType.FastForward fast forwards the animation to a given play time and starts it right away.

Constructors

Link copied to clipboard
constructor(offsetMillis: Int, offsetType: StartOffsetType = StartOffsetType.Delay)

This creates a start offset for repeatable and infiniteRepeatable. offsetType can be either of the following: StartOffsetType.Delay and StartOffsetType.FastForward. offsetType defaults to StartOffsetType.Delay.

Properties

Link copied to clipboard

Returns the number of milliseconds to offset the start of the animation.

Link copied to clipboard

Returns the offset type of the provided StartOffset.