# hashCode

> Computes the legacy polynomial `31 * result + field.hashCode()` hash across all eighteen [SpanStyle] properties.

## API Reference

### hashCode

> Source set: Common

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

Computes the legacy polynomial `31 * result + field.hashCode()` hash across all eighteen
[SpanStyle](https://composables.com/jetpack-compose/androidx.compose.ui/ui-text/classes/SpanStyle/api.md) properties.
