# SpatialAbsoluteAlignment

Artifact: [androidx.xr.compose:compose](https://developer.android.com/jetpack/androidx/releases/xr-compose) [View Source](https://cs.android.com/search?q=file:androidx/xr/compose/subspace/layout/SpatialAlignment.kt+class:androidx.xr.compose.subspace.layout.SpatialAbsoluteAlignment) Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)


```
object SpatialAbsoluteAlignment
```

<br />

*** ** * ** ***

A collection of common `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment`s unaware of the layout direction.

## Summary

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#BottomLeft()` Aligns at the bottom of the vertical axis and left of the horizontal axis irrespective of the layout direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#BottomRight()` Aligns at the bottom of the vertical axis and right of the horizontal axis irrespective of the layout direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#CenterLeft()` Aligns at the center of the vertical axis and left of the horizontal axis irrespective of the layout direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#CenterRight()` Aligns at the center of the vertical axis and right of the horizontal axis irrespective of the layout direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment.Horizontal` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#Left()` Aligns at the left of the horizontal axis irrespective of the layout direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment.Horizontal` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#Right()` Aligns at the right of the horizontal axis irrespective of the layout direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#TopLeft()` Aligns at the top of the vertical axis and left of the horizontal axis irrespective of the layout direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAlignment` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialAbsoluteAlignment#TopRight()` Aligns at the top of the vertical axis and right of the horizontal axis irrespective of the layout direction. |

## Public properties

### BottomLeft

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

```
val BottomLeft: SpatialAlignment
```

Aligns at the bottom of the vertical axis and left of the horizontal axis irrespective of the layout direction.

### BottomRight

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

```
val BottomRight: SpatialAlignment
```

Aligns at the bottom of the vertical axis and right of the horizontal axis irrespective of the layout direction.

### CenterLeft

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

```
val CenterLeft: SpatialAlignment
```

Aligns at the center of the vertical axis and left of the horizontal axis irrespective of the layout direction.

### CenterRight

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

```
val CenterRight: SpatialAlignment
```

Aligns at the center of the vertical axis and right of the horizontal axis irrespective of the layout direction.

### Left

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

```
val Left: SpatialAlignment.Horizontal
```

Aligns at the left of the horizontal axis irrespective of the layout direction.

### Right

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

```
val Right: SpatialAlignment.Horizontal
```

Aligns at the right of the horizontal axis irrespective of the layout direction.

### TopLeft

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

```
val TopLeft: SpatialAlignment
```

Aligns at the top of the vertical axis and left of the horizontal axis irrespective of the layout direction.

### TopRight

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

```
val TopRight: SpatialAlignment
```

Aligns at the top of the vertical axis and right of the horizontal axis irrespective of the layout direction.