---
title: "GraphicsLayerScope"
description: "Scope for configuring graphics layer properties in a type-safe builder lambda."
type: "interface"
lastmod: "2026-08-27"
---
## API Reference

> Source set: Android

```kotlin
public interface GraphicsLayerScope
```

Scope for configuring graphics layer properties in a type-safe builder lambda.

## Properties

### scaleX

> Source set: Android

```kotlin
public var scaleX: RemoteFloat
```

The horizontal scale factor.

### scaleY

> Source set: Android

```kotlin
public var scaleY: RemoteFloat
```

The vertical scale factor.

### rotationX

> Source set: Android

```kotlin
public var rotationX: RemoteFloat
```

The rotation of the layer around the X axis, in degrees.

### rotationY

> Source set: Android

```kotlin
public var rotationY: RemoteFloat
```

The rotation of the layer around the Y axis, in degrees.

### rotationZ

> Source set: Android

```kotlin
public var rotationZ: RemoteFloat
```

The rotation of the layer around the Z axis, in degrees.

### shadowElevation

> Source set: Android

```kotlin
public var shadowElevation: RemoteFloat
```

The shadow elevation of the layer.

### transformOriginX

> Source set: Android

```kotlin
public var transformOriginX: RemoteFloat
```

The horizontal center of the transform, as a fraction of the layer width.

### transformOriginY

> Source set: Android

```kotlin
public var transformOriginY: RemoteFloat
```

The vertical center of the transform, as a fraction of the layer height.

### translationX

> Source set: Android

```kotlin
public var translationX: RemoteFloat
```

The horizontal translation of the layer.

### translationY

> Source set: Android

```kotlin
public var translationY: RemoteFloat
```

The vertical translation of the layer.

### alpha

> Source set: Android

```kotlin
public var alpha: RemoteFloat
```

The alpha (opacity) of the layer, from 0f (transparent) to 1f (opaque).

### cameraDistance

> Source set: Android

```kotlin
public var cameraDistance: RemoteFloat
```

The camera distance for 3D transforms.

### shape

> Source set: Android

```kotlin
public var shape: Shape
```

The shape of the layer. Used for clipping and outline shadows.

### compositingStrategy

> Source set: Android

```kotlin
public var compositingStrategy: CompositingStrategy
```

The compositing strategy to use for the layer.

### renderEffect

> Source set: Android

```kotlin
public var renderEffect: RenderEffect?
```

The [RenderEffect](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RenderEffect/api) to apply to this layer, or null.
