RepeatModes

interface RepeatModes

提供可用的动画重复模式的工厂接口。

在配置 repeatableinfiniteRepeatable 动画时, 会提供此接口的实例,以便您从中选择所需的重复模式。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getRestart(): RepeatMode

获取 Restart 重复模式。 在每次重复时,动画将从头开始播放。

Link copied to clipboard
abstract fun getReverse(): RepeatMode

获取 Reverse 重复模式。 在每次重复时,动画将反向播放。