---
title: "PositionScope"
description: "An interface that introduces position properties to a Style receiver scope interface."
type: "interface"
lastmod: "2026-05-20T01:13:53.380264Z"
---
## API Reference

> Source set: Common

```kotlin
@ExperimentalFoundationStyleApi
interface PositionScope
```

An interface that introduces position properties to a [Style](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/Style) receiver scope interface.

## Functions

### left

```kotlin
fun left(value: Dp)
```

Offsets the component horizontally from its original calculated left position. Positive
values shift the component to the right, negative to the left.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount to offset from the left edge. |

### top

```kotlin
fun top(value: Dp)
```

Offsets the component vertically from its original calculated top position. Positive values
shift the component downwards, negative upwards.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount to offset from the top edge. |

### right

```kotlin
fun right(value: Dp)
```

Offsets the component horizontally from its original calculated right position. Positive
values shift the component to the left (further from the right edge), negative to the right.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount to offset from the right edge. |

### bottom

```kotlin
fun bottom(value: Dp)
```

Offsets the component vertically from its original calculated bottom position. Positive
values shift the component upwards (further from the bottom edge), negative downwards.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The amount to offset from the bottom edge. |
