---
title: "TransformOriginScope"
description: "An interface that introduces the transform origin properties to a Style receiver scope."
type: "interface"
lastmod: "2026-05-20T01:13:53.389179Z"
---
## API Reference

> Source set: Common

```kotlin
@ExperimentalFoundationStyleApi
interface TransformOriginScope
```

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

## Functions

### transformOriginX

```kotlin
fun transformOriginX(value: Float)
```

Offset percentage along the x-axis for which contents are rotated and scaled. The default
value of 0.5f indicates the pivot point will be at the midpoint of the left and right bounds
of the layer. Default value is [TransformOrigin.Center](/jetpack-compose/androidx.compose.ui/ui-geometry/properties/center).

#### Parameters

| | |
| --- | --- |
| value | The origin of the transform |

### transformOriginY

```kotlin
fun transformOriginY(value: Float)
```

Offset percentage along the y-axis for which contents are rotated and scaled. The default
value of 0.5f indicates the pivot point will be at the midpoint of the top and bottom bounds
of the layer. Default value is [TransformOrigin.Center](/jetpack-compose/androidx.compose.ui/ui-geometry/properties/center).

#### Parameters

| | |
| --- | --- |
| value | The origin of the transform |
