# KeyframeBaseEntity

# KeyframeBaseEntity

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.KeyframeBaseEntity)  
Added in[1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-animation#1.6.0)
Common/All
  - Cmn  

  ```
  sealed class KeyframeBaseEntity<T : Any?>
```  
Known direct subclasses  
[KeyframesSpec.KeyframeEntity](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframeEntity)  

|---------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|
| [KeyframesSpec.KeyframeEntity](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframesSpec.KeyframeEntity) | Holder class for building a keyframes animation. |

*** ** * ** ***

Base holder class for building a keyframes animation.

## Summary

|                                                                                                                                                                                         ### Protected constructors                                                                                                                                                                                          |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| `<T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[KeyframeBaseEntity](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/KeyframeBaseEntity#KeyframeBaseEntity(kotlin.Any,androidx.compose.animation.core.Easing))`(value: T, easing: `[Easing](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/Easing)`)` | Cmn |

## Protected constructors

### KeyframeBaseEntity

Cmn  

```
protected <T : Any?> KeyframeBaseEntity(value: T, easing: Easing)
```