# IntrinsicMeasurable

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

  ```
  interface IntrinsicMeasurable
  ```
Known direct subclasses [Measurable](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measurable)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measurable` | A part of the composition that can be measured. |

*** ** * ** ***

A part of the composition that can be measured. This represents a layout. The instance should never be stored.

## Summary

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#maxIntrinsicHeight(kotlin.Int)(width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Calculates the smallest height beyond which increasing the height never decreases the width. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#maxIntrinsicWidth(kotlin.Int)(height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Calculates the smallest width beyond which increasing the width never decreases the height. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#minIntrinsicHeight(kotlin.Int)(width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Calculates the minimum height that the layout can be such that the content of the layout will be painted correctly. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#minIntrinsicWidth(kotlin.Int)(height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Calculates the minimum width that the layout can be such that the content of the layout will be painted correctly. | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#parentData()` Data provided by the `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ParentDataModifier`. | Cmn |

## Public functions

### maxIntrinsicHeight

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

```
fun maxIntrinsicHeight(width: Int): Int
```

Calculates the smallest height beyond which increasing the height never decreases the width. There should be no side-effects from a call to `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#maxIntrinsicHeight(kotlin.Int)`.

### maxIntrinsicWidth

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

```
fun maxIntrinsicWidth(height: Int): Int
```

Calculates the smallest width beyond which increasing the width never decreases the height. There should be no side-effects from a call to `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#maxIntrinsicWidth(kotlin.Int)`.

### minIntrinsicHeight

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

```
fun minIntrinsicHeight(width: Int): Int
```

Calculates the minimum height that the layout can be such that the content of the layout will be painted correctly. There should be no side-effects from a call to `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#minIntrinsicHeight(kotlin.Int)`.

### minIntrinsicWidth

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

```
fun minIntrinsicWidth(height: Int): Int
```

Calculates the minimum width that the layout can be such that the content of the layout will be painted correctly. There should be no side-effects from a call to `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/IntrinsicMeasurable#minIntrinsicWidth(kotlin.Int)`.

## Public properties

### parentData

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

```
val parentData: Any?
```

Data provided by the `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ParentDataModifier`.