@LayoutScopeMarker
class KeyCyclesScope : BaseKeyFramesScope


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 frame is a specific progress value from 0 to 100.

Inherited properties

From androidx.constraintlayout.compose.BaseKeyFramesScope
Easing

The Easing curve to apply for the KeyFrames defined in this scope.

Public functions

frame

Added in 1.1.0-alpha13
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.