# CurvedTextStyle

# CurvedTextStyle

Artifact:[androidx.glance:glance-wear-tiles](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/wear/tiles/curved/CurvedProperties.kt+class:androidx.glance.wear.tiles.curved.CurvedTextStyle)  
Added in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  
Deprecated in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)

<br />

```
class CurvedTextStyle
```

<br />

*** ** * ** ***

| **This class is deprecated.**   
| glance-wear-tiles is deprecated and will be removed

Description of a text style for the[CurvedScope.curvedText](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedScope#curvedText(kotlin.String,androidx.glance.wear.tiles.curved.GlanceCurvedModifier,androidx.glance.wear.tiles.curved.CurvedTextStyle))composable.

## Summary

|                                                                                                                                                                                                                                                                                                                                                                                                      ### Public constructors                                                                                                                                                                                                                                                                                                                                                                                                       |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ~~[CurvedTextStyle](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#CurvedTextStyle(androidx.glance.unit.ColorProvider,androidx.compose.ui.unit.TextUnit,androidx.glance.text.FontWeight,androidx.glance.text.FontStyle))~~`(` ` color: `[ColorProvider](https://developer.android.com/reference/kotlin/androidx/glance/unit/ColorProvider)`?,` ` fontSize: `[TextUnit](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit)`?,` ` fontWeight: `[FontWeight](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight)`?,` ` fontStyle: `[FontStyle](https://developer.android.com/reference/kotlin/androidx/glance/text/FontStyle)`?` `)` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed |

|                                        ### Public functions                                         |
|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | ~~[equals](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#equals(kotlin.Any))~~`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed |
| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | ~~[hashCode](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#hashCode())~~`()` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed                                                                                            |
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)            | ~~[toString](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#toString())~~`()` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed                                                                                            |

|                                         ### Public properties                                         |
|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ColorProvider](https://developer.android.com/reference/kotlin/androidx/glance/unit/ColorProvider)`?` | [color](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#color()) **This property is deprecated.**glance-wear-tiles is deprecated and will be removed           |
| [TextUnit](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit)`?`       | [fontSize](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#fontSize()) **This property is deprecated.**glance-wear-tiles is deprecated and will be removed     |
| [FontStyle](https://developer.android.com/reference/kotlin/androidx/glance/text/FontStyle)`?`         | [fontStyle](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#fontStyle()) **This property is deprecated.**glance-wear-tiles is deprecated and will be removed   |
| [FontWeight](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight)`?`       | [fontWeight](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#fontWeight()) **This property is deprecated.**glance-wear-tiles is deprecated and will be removed |

## Public constructors

### CurvedTextStyle

Added in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  
Deprecated in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  

```
[CurvedTextStyle](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#CurvedTextStyle(androidx.glance.unit.ColorProvider,androidx.compose.ui.unit.TextUnit,androidx.glance.text.FontWeight,androidx.glance.text.FontStyle))(
    color: ColorProvider? = null,
    fontSize: TextUnit? = null,
    fontWeight: FontWeight? = null,
    fontStyle: FontStyle? = null
)
```
| **This function is deprecated.**   
glance-wear-tiles is deprecated and will be removed  

## Public functions

### equals

```
open operator fun [equals](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#equals(kotlin.Any))(other: Any?): Boolean
```
| **This function is deprecated.**   
glance-wear-tiles is deprecated and will be removed  

### hashCode

```
open fun [hashCode](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#hashCode())(): Int
```
| **This function is deprecated.**   
glance-wear-tiles is deprecated and will be removed  

### toString

```
open fun [toString](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle#toString())(): String
```
| **This function is deprecated.**   
glance-wear-tiles is deprecated and will be removed  

## Public properties

### color

Added in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  
Deprecated in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  

```
val color: ColorProvider?
```
| **This property is deprecated.**   
glance-wear-tiles is deprecated and will be removed  

### fontSize

```
val fontSize: TextUnit?
```
| **This property is deprecated.**   
glance-wear-tiles is deprecated and will be removed  

### fontStyle

```
val fontStyle: FontStyle?
```
| **This property is deprecated.**   
glance-wear-tiles is deprecated and will be removed  

### fontWeight

```
val fontWeight: FontWeight?
```
| **This property is deprecated.**   
| glance-wear-tiles is deprecated and will be removed