# FontWeight

# FontWeight

Artifact:[androidx.glance:glance](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/text/FontWeight.kt+class:androidx.glance.text.FontWeight)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0)

<br />

```
value class FontWeight
```

<br />

*** ** * ** ***

Weight of a font.

## Summary

|                               ### Public companion properties                                |
|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
| [FontWeight](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight) | [Bold](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight#Bold())     |
| [FontWeight](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight) | [Medium](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight#Medium()) |
| [FontWeight](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight) | [Normal](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight#Normal()) |

|                            ### Public properties                            |
|-----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [value](https://developer.android.com/reference/kotlin/androidx/glance/text/FontWeight#value()) numerical value for the weight (a number from 0 to 1000) |

## Public companion properties

### Bold

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

```
val Bold: FontWeight
```  

### Medium

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

```
val Medium: FontWeight
```  

### Normal

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

```
val Normal: FontWeight
```  

## Public properties

### value

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

```
val value: Int
```

numerical value for the weight (a number from 0 to 1000)