# Animation.Description

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Description

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/view/animation/Animation.Description "View this page in Java")  

```
protected open class Description
```

|---|----------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                               ||
| ↳ | [android.view.animation.Animation.Description](https://developer.android.com/reference/kotlin/android/view/animation/Animation.Description#) |

Utility class to parse a string description of a size.

## Summary

|                                                         Protected constructors                                                         ||
|-------------------------------------------------------------------------------------------------------------------------------------|---|
| [Description](https://developer.android.com/reference/kotlin/android/view/animation/Animation.Description#Description())`()` <br /> |

|                                                                                                                            Properties                                                                                                                            ||
|--------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)     | [type](https://developer.android.com/reference/kotlin/android/view/animation/Animation.Description#type:kotlin.Int) One of Animation.                                            |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [value](https://developer.android.com/reference/kotlin/android/view/animation/Animation.Description#value:kotlin.Float) The absolute or relative dimension for this Description. |

## Protected constructors

### Description

```
protected Description()
```

## Properties

### type

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var type: Int
```

One of Animation.ABSOLUTE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT.  

### value

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var value: Float
```

The absolute or relative dimension for this Description.