# RemoteFontWeight

> Represents the thickness of glyphs in a font for Remote Compose.

## API Reference

> Source set: JvmAndAndroid

```kotlin
public class RemoteFontWeight(public val weight: RemoteFloat)
```

Represents the thickness of glyphs in a font for Remote Compose.

## Functions

### equals

> Source set: JvmAndAndroid

```kotlin
override fun equals(other: Any?): Boolean
```

Creates a [RemoteFontWeight](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteFontWeight/api.md) with the given integer `weight` value.

#### Parameters

| | |
| --- | --- |
| weight | The thickness of the font as an integer (e.g. 400 for normal, 700 for bold). |

### hashCode

> Source set: JvmAndAndroid

```kotlin
override fun hashCode(): Int
```

### toString

> Source set: JvmAndAndroid

```kotlin
override fun toString(): String
```

## Members

### Companion

> Source set: JvmAndAndroid

```kotlin
public companion object
```

## Properties

### W100

> Source set: JvmAndAndroid

```kotlin
@Stable public val W100: RemoteFontWeight = RemoteFontWeight(100.rf)
```

Thin font weight (100).

### W200

> Source set: JvmAndAndroid

```kotlin
@Stable public val W200: RemoteFontWeight = RemoteFontWeight(200.rf)
```

Extra light font weight (200).

### W300

> Source set: JvmAndAndroid

```kotlin
@Stable public val W300: RemoteFontWeight = RemoteFontWeight(300.rf)
```

Light font weight (300).

### W400

> Source set: JvmAndAndroid

```kotlin
@Stable public val W400: RemoteFontWeight = RemoteFontWeight(400.rf)
```

Normal / regular / plain font weight (400).

### W500

> Source set: JvmAndAndroid

```kotlin
@Stable public val W500: RemoteFontWeight = RemoteFontWeight(500.rf)
```

Medium font weight (500).

### W600

> Source set: JvmAndAndroid

```kotlin
@Stable public val W600: RemoteFontWeight = RemoteFontWeight(600.rf)
```

Semi-bold font weight (600).

### W700

> Source set: JvmAndAndroid

```kotlin
@Stable public val W700: RemoteFontWeight = RemoteFontWeight(700.rf)
```

Bold font weight (700).

### W800

> Source set: JvmAndAndroid

```kotlin
@Stable public val W800: RemoteFontWeight = RemoteFontWeight(800.rf)
```

Extra bold font weight (800).

### W900

> Source set: JvmAndAndroid

```kotlin
@Stable public val W900: RemoteFontWeight = RemoteFontWeight(900.rf)
```

Black font weight (900).

### Thin

> Source set: JvmAndAndroid

```kotlin
@Stable public val Thin: RemoteFontWeight = W100
```

Alias for `W100`.

### ExtraLight

> Source set: JvmAndAndroid

```kotlin
@Stable public val ExtraLight: RemoteFontWeight = W200
```

Alias for `W200`.

### Light

> Source set: JvmAndAndroid

```kotlin
@Stable public val Light: RemoteFontWeight = W300
```

Alias for `W300`.

### Normal

> Source set: JvmAndAndroid

```kotlin
@Stable public val Normal: RemoteFontWeight = W400
```

The default font weight - alias for `W400`.

### Medium

> Source set: JvmAndAndroid

```kotlin
@Stable public val Medium: RemoteFontWeight = W500
```

Alias for `W500`.

### SemiBold

> Source set: JvmAndAndroid

```kotlin
@Stable public val SemiBold: RemoteFontWeight = W600
```

Alias for `W600`.

### Bold

> Source set: JvmAndAndroid

```kotlin
@Stable public val Bold: RemoteFontWeight = W700
```

A commonly used font weight that is heavier than normal - alias for `W700`.

### ExtraBold

> Source set: JvmAndAndroid

```kotlin
@Stable public val ExtraBold: RemoteFontWeight = W800
```

Alias for `W800`.

### Black

> Source set: JvmAndAndroid

```kotlin
@Stable public val Black: RemoteFontWeight = W900
```

Alias for `W900`.
