KeyframesSpecConfig

interface KeyframesSpecConfig<T> : ComposableProperties<ERROR CLASS: Symbol not found for androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T>>

关键帧动画的配置接口。

用于定义动画的总时长、延迟以及每个关键帧的时间和值。

Author

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

Functions

Link copied to clipboard
abstract fun setDelayMillis(value: Int)

设置动画开始前的延迟时间(毫秒)。

Link copied to clipboard
abstract fun setDurationMillis(value: Int)

设置动画的总持续时间(毫秒)。