KeyCyclesScope
@ExperimentalMotionApi
@LayoutScopeMarker
class KeyCyclesScope : BaseKeyFramesScope
| kotlin.Any | ||
| ↳ | androidx.constraintlayout.compose.BaseKeyFramesScope | |
| ↳ | androidx.constraintlayout.compose.KeyCyclesScope |
Scope where multiple cycling attribute KeyFrames may be defined.
| See also | |
|---|---|
frame |
Summary
Public functions |
|
|---|---|
Unit |
frame(frame: @IntRange(from = 0, to = 100) Int, keyFrameContent: KeyCycleScope.() -> Unit)Define KeyCycle values at a given KeyFrame, where the |
Inherited properties |
|---|
Public functions
frame
Added in 1.1.1
fun frame(frame: @IntRange(from = 0, to = 100) Int, keyFrameContent: KeyCycleScope.() -> Unit): Unit
Define KeyCycle values at a given KeyFrame, where the frame is a specific progress value from 0 to 100.
All properties set on KeyCycleScope for this frame should also be set on other frame declarations made within this scope.