---
title: "ScaleScope"
description: "An interface that introduces the scaleX and scaleY properties to a Style receiver scope."
type: "interface"
lastmod: "2026-05-20T01:13:53.381984Z"
---
## API Reference

> Source set: Common

```kotlin
@ExperimentalFoundationStyleApi
interface ScaleScope
```

An interface that introduces the [scaleX](#scalex) and [scaleY](#scaley) properties to a [Style](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/Style) receiver scope.

## Functions

### scaleX

```kotlin
fun scaleX(@FloatRange(from = 0.0) value: Float)
```

Scales the component horizontally around its center pivot point.

Setting scaleX will override the horizontal scaling set by a previous call to [scale](/jetpack-compose/androidx.compose.foundation/foundation/functions/scale).

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The scaling factor for the X-axis. 1.0f is no scale. |

### scaleY

```kotlin
fun scaleY(@FloatRange(from = 0.0) value: Float)
```

Scales the component vertically around its center pivot point.

Setting scaleX will override the vertical scaling set by a previous call to [scale](/jetpack-compose/androidx.compose.foundation/foundation/functions/scale).

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | The scaling factor for the Y-axis. 1.0f is no scale. |
