<div class='sourceset sourceset-android'>Android</div>

```kotlin
public sealed interface Horizontal
```

A remote equivalent of [androidx.compose.ui.Alignment.Horizontal](/jetpack-compose/androidx.compose.ui/ui/interfaces/Alignment.Horizontal). It is used to define how a
layout's children should be positioned horizontally.

Pre-defined alignment objects are available: `Start`, `CenterHorizontally`, and `End`.

## Functions

<h2 id="tocomposeui">toComposeUi</h2>

```kotlin
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
        public fun toComposeUi(): androidx.compose.ui.Alignment.Horizontal
```

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

<h2 id="toremote-layoutdirection">toRemote</h2>

```kotlin
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
        public fun toRemote(layoutDirection: LayoutDirection): Int
```