# ParagraphIntrinsics

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/ParagraphIntrinsics.kt+class:androidx.compose.ui.text.ParagraphIntrinsics) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  interface ParagraphIntrinsics
  ```
Known direct subclasses [MultiParagraphIntrinsics](https://developer.android.com/reference/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics` | Calculates and provides the intrinsic width and height of text that contains `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphStyle`. |

*** ** * ** ***

Calculates and presents the intrinsic width and height of text.

## Summary

| ### Public properties |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics#hasStaleResolvedFonts()` Any `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/Paragraph` rendered using this `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics` will be measured and drawn using stale resolved fonts. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics#maxIntrinsicWidth()` Returns the smallest width beyond which increasing the width never decreases the height. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics#minIntrinsicWidth()` The width for text if all soft wrap opportunities were taken. | Cmn |

## Public properties

### hasStaleResolvedFonts

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

```
open val hasStaleResolvedFonts: Boolean
```

Any `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/Paragraph` rendered using this `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics` will be measured and drawn using stale resolved fonts.

If this is false, this `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics` is using the most current font resolution from `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/font/FontFamily.Resolver`.

If this is true, recreating this `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics` will use new fonts from `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/font/FontFamily.Resolver` for both display and measurement. Recreating this `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics` and displaying the resulting `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/Paragraph` causes user-visible reflow of the displayed text.

Once true, this will never become false without recreating this `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics`.

It is discouraged, but safe, to continue to use this object after this becomes true. The only impact of using this object after `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/ParagraphIntrinsics#hasStaleResolvedFonts()` becomes true is stale resolutions of async fonts for measurement and display.

### maxIntrinsicWidth

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

```
val maxIntrinsicWidth: Float
```

Returns the smallest width beyond which increasing the width never decreases the height.

### minIntrinsicWidth

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

```
val minIntrinsicWidth: Float
```

The width for text if all soft wrap opportunities were taken.