# LayoutElementBuilders.FontVariantProp

Artifact: [androidx.wear.tiles:tiles](https://developer.android.com/jetpack/androidx/releases/wear-tiles) [View Source](https://cs.android.com/search?q=file:androidx/wear/tiles/LayoutElementBuilders.java+class:androidx.wear.tiles.LayoutElementBuilders.FontVariantProp) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

*** ** * ** ***


```
@TilesExperimental
class LayoutElementBuilders.FontVariantProp
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Deprecated in Java

An extensible `FontVariant` property.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/wear/tiles/LayoutElementBuilders.FontVariantProp.Builder` **This class is deprecated.** Deprecated in Java |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `[getValue](https://developer.android.com/reference/kotlin/androidx/wear/tiles/LayoutElementBuilders.FontVariantProp#getValue())()` **This function is deprecated.** Deprecated in Java |

## Public functions

### getValue

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

```
fun [getValue](https://developer.android.com/reference/kotlin/androidx/wear/tiles/LayoutElementBuilders.FontVariantProp#getValue())(): Int
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the value. Intended for testing purposes only.