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

```kotlin
public interface Vertical
```

An interface to calculate the position of a box of a certain height inside an available
height.

## Functions

<h2 id="offset-height-space">offset</h2>

```kotlin
public fun offset(height: Int, space: Int): Int
```

Provides the vertical offset from the origin of the space to the origin of the content.

#### Parameters

| | |
| --- | --- |
| height | The content height in pixels. |
| space | The available space in pixels. |