# KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig

Artifact: [androidx.compose.animation:animation-core](https://developer.android.com/jetpack/androidx/releases/compose-animation) [View Source](https://cs.android.com/search?q=file:androidx/compose/animation/core/AnimationSpec.kt+class:androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-animation#1.6.0) Common/All
- Cmn

  ```
  class KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T : Any?> : KeyframesSpecBaseConfig<T, KeyframesSpec.KeyframeEntity<T>>
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.compose.animation.core.KeyframesSpecBaseConfig](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig)\<T, [KeyframesSpec.KeyframeEntity](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframeEntity)\<T\>\> ||
|   | ↳ | [androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig) |

*** ** * ** ***

Keyframe configuration class for `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesWithSplineSpec`.

Since `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/package-summary#keyframesWithSpline(kotlin.Function1)` uses the values across all the given intervals to calculate the shape of the animation, `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig` does not allow setting a specific `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/ArcMode` between intervals (compared to `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframesSpecConfig` used for `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig#keyframes()`).

## Summary

| ### Public constructors |
|---|---|
| `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig#KeyframesWithSplineSpecConfig()()` | Cmn |

### Inherited functions

From [androidx.compose.animation.core.KeyframesSpecBaseConfig](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig) `open infix https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframeEntity<T>` `T.https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig#(kotlin.Any).at(kotlin.Int)(timeStamp: @https://developer.android.com/reference/kotlin/androidx/annotation/IntRange(from = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

Adds a keyframe so that animation value will be `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig` at time: `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig#(kotlin.Any).at(kotlin.Int)`.
Cmn `open infix https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframeEntity<T>` `T.https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig#(kotlin.Any).atFraction(kotlin.Float)(fraction: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, to = 1.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`

Adds a keyframe so that the animation value will be the value specified at a fraction of the total `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig#durationMillis()` set.
Cmn `infix https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframeEntity<T>` `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframeEntity<T>.https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig#(androidx.compose.animation.core.KeyframeBaseEntity).using(androidx.compose.animation.core.Easing)(easing: https://developer.android.com/reference/kotlin/androidx/compose/animation/core/Easing)`

Adds an `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/Easing` for the interval started with the just provided timestamp.
Cmn

### Inherited properties

From [androidx.compose.animation.core.KeyframesSpecBaseConfig](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig#delayMillis()`

The amount of time that the animation should be delayed.
Cmn `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpecBaseConfig#durationMillis()`

Duration of the animation in milliseconds.
Cmn

## Public constructors

### KeyframesWithSplineSpecConfig

Cmn

```
<T : Any?> KeyframesWithSplineSpecConfig()
```