@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-alpha13
var alphaFloat

rotationX

Added in 1.1.0-alpha13
var rotationXFloat

rotationY

Added in 1.1.0-alpha13
var rotationYFloat

rotationZ

Added in 1.1.0-alpha13
var rotationZFloat

scaleX

Added in 1.1.0-alpha13
var scaleXFloat

scaleY

Added in 1.1.0-alpha13
var scaleYFloat

translationX

Added in 1.1.0-alpha13
var translationXDp

translationY

Added in 1.1.0-alpha13
var translationYDp

translationZ

Added in 1.1.0-alpha13
var translationZDp