@ExperimentalMotionApi
@LayoutScopeMarker
class KeyAttributeScope : BaseKeyFrameScope


Scope to define KeyFrame attributes.

Supports transform parameters: alpha, scale, rotation and translation.

You may also define custom properties when called within a MotionSceneScope.

See also
customFloat

Summary

Inherited functions

From androidx.constraintlayout.compose.BaseKeyFrameScope
ObservableProperty<E>
<E : NamedPropertyOrValue?> addNameOnPropertyChange(
    initialValue: E,
    nameOverride: String?
)

Property delegate that updates the keyFramePropertiesValue map on value changes.

ObservableProperty<T>
<T : Any?> addOnPropertyChange(initialValue: T, nameOverride: String?)

When changed, updates the value of type T on the keyFramePropertiesValue map.

Public properties

alpha

Added in 1.1.0
var alphaFloat

rotationX

Added in 1.1.0
var rotationXFloat

rotationY

Added in 1.1.0
var rotationYFloat

rotationZ

Added in 1.1.0
var rotationZFloat

scaleX

Added in 1.1.0
var scaleXFloat

scaleY

Added in 1.1.0
var scaleYFloat

translationX

Added in 1.1.0
var translationXDp

translationY

Added in 1.1.0
var translationYDp

translationZ

Added in 1.1.0
var translationZDp