KeyAttributesScope
@ExperimentalMotionApi
@LayoutScopeMarker
class KeyAttributesScope : BaseKeyFramesScope
| kotlin.Any | ||
| ↳ | androidx.constraintlayout.compose.BaseKeyFramesScope | |
| ↳ | androidx.constraintlayout.compose.KeyAttributesScope |
Scope where multiple attribute KeyFrames may be defined.
| See also | |
|---|---|
frame |
Summary
Public functions |
|
|---|---|
Unit |
frame(frame: @IntRange(from = 0, to = 100) Int, keyFrameContent: KeyAttributeScope.() -> Unit)Define KeyAttribute 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: KeyAttributeScope.() -> Unit): Unit
Define KeyAttribute values at a given KeyFrame, where the frame is a specific progress value from 0 to 100.
All properties set on KeyAttributeScope for this frame should also be set on other frame declarations made within this scope.