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

> Source set: Common

```kotlin
@ExperimentalFoundationStyleApi
interface RotationScope
```

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

## Functions

### rotationX

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

Rotates the component around the X-axis through its center.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The rotation angle in degrees. |

### rotationY

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

Rotates the component around the Y-axis through its center.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The rotation angle in degrees. |

### rotationZ

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

Rotates the component around the Z-axis (perpendicular to the screen) through its center.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The rotation angle in degrees. |
