# Measured

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

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

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Placeable` | A `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Placeable` corresponds to a child layout that can be positioned by its parent layout. |

*** ** * ** ***

A `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measured` corresponds to a layout that has been measured by its parent layout.

## Summary

| ### Public functions |
|---|---|---|
| `operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measured#get(androidx.compose.ui.layout.AlignmentLine)(alignmentLine: https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine)` Returns the position of an `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine`, or `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine#Unspecified()` if the line is not provided. | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measured#measuredHeight()` The measured height of the layout. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measured#measuredWidth()` The measured width of the layout. | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measured#parentData()` Data provided by the `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ParentDataModifier` applied to the layout. | Cmn |

## Public functions

### get

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

```
operator fun get(alignmentLine: AlignmentLine): Int
```

Returns the position of an `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine`, or `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine#Unspecified()` if the line is not provided.

## Public properties

### measuredHeight

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

```
val measuredHeight: Int
```

The measured height of the layout. This might not respect the measurement constraints.

### measuredWidth

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

```
val measuredWidth: Int
```

The measured width of the layout. This might not respect the measurement constraints.

### parentData

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

```
open val parentData: Any?
```

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