@LayoutScopeMarker
class KeyCycleScope : BaseKeyFrameScope


Scope to define cycling KeyFrames.

KeyCycleScope allows you to apply wave-based transforms, defined by period, offset and phase. A sinusoidal wave is used by default.

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

offset

Added in 1.1.0-alpha13
var offsetFloat

period

Added in 1.1.0-alpha13
var periodFloat

phase

Added in 1.1.0-alpha13
var phaseFloat

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