# PlatformSpanStyle

Artifact: [androidx.compose.ui:ui-text](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/text/+class:androidx.compose.ui.text.PlatformSpanStyle) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0) Common/AllAndroid/JVM
- Cmn

  ```
  class PlatformSpanStyle
  ```

*** ** * ** ***

Provides platform specific `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/SpanStyle` configuration options for styling and compatibility.

## Summary

| ### Public companion properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle#Default()` | Cmn android |

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle#PlatformSpanStyle()()` | android |

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle#hashCode()()` | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle#merge(androidx.compose.ui.text.PlatformSpanStyle)(other: https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle?)` | Cmn android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/PlatformSpanStyle#toString()()` | android |

## Public companion properties

### Default

Cmn android Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
val Default: PlatformSpanStyle
```

## Public constructors

### PlatformSpanStyle

android Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
PlatformSpanStyle()
```

## Public functions

### equals

android

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

android

```
open fun hashCode(): Int
```

### merge

Cmn android Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
fun merge(other: PlatformSpanStyle?): PlatformSpanStyle
```

### toString

android

```
open fun toString(): String
```