---
title: "MeasureResult"
description: "Interface holding the size and alignment lines of the measured layout, as well as the children
positioning logic. [placeChildren] is the function used for positioning children.
[Placeable.placeAt] should be called on children inside [placeChildren]. The alignment lines can
be used by the parent layouts to decide layout, and can be queried using the [Placeable.get]
operator. Note that alignment lines will be inherited by parent layouts, such that indirect
parents will be able to query them as well."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
interface MeasureResult
```


Interface holding the size and alignment lines of the measured layout, as well as the children
positioning logic. `placeChildren` is the function used for positioning children.
`Placeable.placeAt` should be called on children inside `placeChildren`. The alignment lines can
be used by the parent layouts to decide layout, and can be queried using the `Placeable.get`
operator. Note that alignment lines will be inherited by parent layouts, such that indirect
parents will be able to query them as well.


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val width: Int
```


The measured width of the layout, in pixels.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val height: Int
```


The measured height of the layout, in pixels.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val alignmentLines: Map<AlignmentLine, Int>
```


Alignment lines that can be used by parents to align this layout. This only includes the
alignment lines of this layout and not children.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val rulers: (RulerScope.() -> Unit)?
```


An optional lambda function used to create `Ruler`s for child layout. This may be
reevealuated when the layout's position moves.



## Functions

```kotlin
fun placeChildren()
```


A method used to place children of this layout. It may also be used to measure children that
were not needed for determining the size of this layout.



