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

```kotlin
object Absolute
```

## Properties

<h2 id="arrange-object-totalsize-sizes-layoutdirection-outpositions">arrange</h2>

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

```kotlin
val Left =
        object : Horizontal {
            override fun Density.arrange(
                totalSize: Int,
                sizes: IntArray,
                layoutDirection: LayoutDirection,
                outPositions: IntArray,
            ) = placeLeftOrTop(sizes, outPositions, reverseInput = false)

            override fun toString() = "AbsoluteArrangement#Left"
        }
```

Place children horizontally such that they are as close as possible to the left edge of
the [Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Unlike `Arrangement.Start`, when the layout direction is RTL, the children will not be
mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Visually: 123####

<hr class="docs-overload-divider">

<h2 id="arrange-object-totalsize-sizes-layoutdirection-outpositions-2">arrange</h2>

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

```kotlin
val Center =
        object : Horizontal {
            override fun Density.arrange(
                totalSize: Int,
                sizes: IntArray,
                layoutDirection: LayoutDirection,
                outPositions: IntArray,
            ) = placeCenter(totalSize, sizes, outPositions, reverseInput = false)

            override fun toString() = "AbsoluteArrangement#Center"
        }
```

Place children such that they are as close as possible to the middle of the [Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Unlike [Arrangement.Center](/jetpack-compose/androidx.compose.ui/ui-geometry/properties/center), when the layout direction is RTL, the children will not be
mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Visually: ##123##

<hr class="docs-overload-divider">

<h2 id="arrange-object-totalsize-sizes-layoutdirection-outpositions-3">arrange</h2>

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

```kotlin
val Right =
        object : Horizontal {
            override fun Density.arrange(
                totalSize: Int,
                sizes: IntArray,
                layoutDirection: LayoutDirection,
                outPositions: IntArray,
            ) = placeRightOrBottom(totalSize, sizes, outPositions, reverseInput = false)

            override fun toString() = "AbsoluteArrangement#Right"
        }
```

Place children horizontally such that they are as close as possible to the right edge of
the [Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Unlike `Arrangement.End`, when the layout direction is RTL, the children will not be
mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Visually: ####123

<hr class="docs-overload-divider">

<h2 id="arrange-object-totalsize-sizes-layoutdirection-outpositions-4">arrange</h2>

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

```kotlin
val SpaceBetween =
        object : Horizontal {
            override fun Density.arrange(
                totalSize: Int,
                sizes: IntArray,
                layoutDirection: LayoutDirection,
                outPositions: IntArray,
            ) = placeSpaceBetween(totalSize, sizes, outPositions, reverseInput = false)

            override fun toString() = "AbsoluteArrangement#SpaceBetween"
        }
```

Place children such that they are spaced evenly across the main axis, without free space
before the first child or after the last child.

Unlike `Arrangement.SpaceBetween`, when the layout direction is RTL, the children will
not be mirrored and as such children will appear in the order they are composed inside
the [Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Visually: 1##2##3

<hr class="docs-overload-divider">

<h2 id="arrange-object-totalsize-sizes-layoutdirection-outpositions-5">arrange</h2>

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

```kotlin
val SpaceEvenly =
        object : Horizontal {
            override fun Density.arrange(
                totalSize: Int,
                sizes: IntArray,
                layoutDirection: LayoutDirection,
                outPositions: IntArray,
            ) = placeSpaceEvenly(totalSize, sizes, outPositions, reverseInput = false)

            override fun toString() = "AbsoluteArrangement#SpaceEvenly"
        }
```

Place children such that they are spaced evenly across the main axis, including free
space before the first child and after the last child.

Unlike `Arrangement.SpaceEvenly`, when the layout direction is RTL, the children will not
be mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Visually: #1#2#3#

<hr class="docs-overload-divider">

<h2 id="arrange-object-totalsize-sizes-layoutdirection-outpositions-6">arrange</h2>

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

```kotlin
val SpaceAround =
        object : Horizontal {
            override fun Density.arrange(
                totalSize: Int,
                sizes: IntArray,
                layoutDirection: LayoutDirection,
                outPositions: IntArray,
            ) = placeSpaceAround(totalSize, sizes, outPositions, reverseInput = false)

            override fun toString() = "AbsoluteArrangement#SpaceAround"
        }
```

Place children such that they are spaced evenly horizontally, including free space before
the first child and after the last child, but half the amount of space existing otherwise
between two consecutive children.

Unlike `Arrangement.SpaceAround`, when the layout direction is RTL, the children will not
be mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

Visually: #1##2##3##4#

## Functions

<hr class="docs-overload-divider">

<h2 id="spacedby-space">spacedBy</h2>

```kotlin
fun spacedBy(space: Dp): HorizontalOrVertical
```

Place children such that each two adjacent ones are spaced by a fixed `space` distance
across the main axis. The spacing will be subtracted from the available space that the
children can occupy.

Unlike [Arrangement.spacedBy](/jetpack-compose/androidx.compose.foundation/foundation-layout/objects/Arrangement), when the layout direction is RTL, the children will not be
mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

#### Parameters

| | |
| --- | --- |
| space | The space between adjacent children. |

<hr class="docs-overload-divider">

<h2 id="spacedby-space-alignment">spacedBy</h2>

```kotlin
fun spacedBy(space: Dp, alignment: Alignment.Horizontal): Horizontal
```

Place children horizontally such that each two adjacent ones are spaced by a fixed
`space` distance. The spacing will be subtracted from the available width that the
children can occupy. An [alignment](/jetpack-compose/androidx.compose.ui/ui/interfaces/Alignment) can be specified to align the spaced children
horizontally inside the parent, in case there is empty width remaining.

Unlike [Arrangement.spacedBy](/jetpack-compose/androidx.compose.foundation/foundation-layout/objects/Arrangement), when the layout direction is RTL, the children will not be
mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

#### Parameters

| | |
| --- | --- |
| space | The space between adjacent children. |
| alignment | The alignment of the spaced children inside the parent. |

<hr class="docs-overload-divider">

<h2 id="spacedby-space-alignment-2">spacedBy</h2>

```kotlin
fun spacedBy(space: Dp, alignment: Alignment.Vertical): Vertical
```

Place children vertically such that each two adjacent ones are spaced by a fixed `space`
distance. The spacing will be subtracted from the available height that the children can
occupy. An [alignment](/jetpack-compose/androidx.compose.ui/ui/interfaces/Alignment) can be specified to align the spaced children vertically inside
the parent, in case there is empty height remaining.

Unlike [Arrangement.spacedBy](/jetpack-compose/androidx.compose.foundation/foundation-layout/objects/Arrangement), when the layout direction is RTL, the children will not be
mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

#### Parameters

| | |
| --- | --- |
| space | The space between adjacent children. |
| alignment | The alignment of the spaced children inside the parent. |

<hr class="docs-overload-divider">

<h2 id="aligned-alignment">aligned</h2>

```kotlin
fun aligned(alignment: Alignment.Horizontal): Horizontal
```

Place children horizontally one next to the other and align the obtained group according
to an [alignment](/jetpack-compose/androidx.compose.ui/ui/interfaces/Alignment).

Unlike [Arrangement.aligned](/jetpack-compose/androidx.compose.foundation/foundation-layout/objects/Arrangement), when the layout direction is RTL, the children will not be
mirrored and as such children will appear in the order they are composed inside the
[Row](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Row).

#### Parameters

| | |
| --- | --- |
| alignment | The alignment of the children inside the parent. |