<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
expect class TextMotion
```


Defines ways to render and place glyphs to provide readability and smooth animations for text.


## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Static: TextMotion
```


Optimizes glyph shaping, placement, and overall rendering for maximum readability.
Intended for text that is not animated. This is the default `TextMotion`.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Animated: TextMotion
```


Text is rendered for maximum linearity which provides smooth animations for text.
Trade-off is the readability of the text on some low DPI devices, which still should not
be a major concern. Use this `TextMotion` if you are planning to scale, translate, or
rotate text.




<div class='sourceset sourceset-android'>Android</div>


```kotlin
actual class TextMotion
internal constructor(
    internal val linearity: Linearity,
    internal val subpixelTextPositioning: Boolean,
)
```


Implementation of possible TextMotion configurations on Android.


## Companion Object

#### Properties

<div class='sourceset sourceset-android'>Android</div>


```kotlin
actual val Static: TextMotion
```


<div class='sourceset sourceset-android'>Android</div>


```kotlin
actual val Animated: TextMotion
```