---
title: "RemoteMatrix3x3"
description: "Represents a 3x3 transformation matrix."
type: "class"
lastmod: "2026-08-27"
---
## API Reference

> Source set: Android

```kotlin
public class RemoteMatrix3x3 internal constructor(
    private val arrayProvider: (creationState: RemoteComposeCreationState) -> FloatArray,
    cacheKey: RemoteStateCacheKey,
) : BaseRemoteState<Any>(cacheKey)
```

Represents a 3x3 transformation matrix.

## Properties

### constantValueOrNull

> Source set: Android

```kotlin
override val constantValueOrNull: Any?
```

## Functions

### times

> Source set: Android

```kotlin
public operator fun times(v: RemoteMatrix3x3): RemoteMatrix3x3
```

Creates a new [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that represents the multiplication of this matrix by another.

#### Parameters

| | |
| --- | --- |
| v | The [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3) to multiply with this one (this * v). |

#### Return

A new [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3) representing the multiplication.

## Members

### Companion

> Source set: Android

```kotlin
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
    public companion object
```

## Functions

### createIdentity

> Source set: Android

```kotlin
public fun createIdentity(): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) representing an identity matrix.

### createRotate

> Source set: Android

```kotlin
public fun createRotate(angle: RemoteFloat): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that rotates around the Z-axis.

#### Parameters

| | |
| --- | --- |
| angle | The angle of rotation. |

### createTranslateX

> Source set: Android

```kotlin
public fun createTranslateX(x: RemoteFloat): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that translates along the X-axis.

#### Parameters

| | |
| --- | --- |
| x | The distance to translate along the X-axis. |

### createTranslateY

> Source set: Android

```kotlin
public fun createTranslateY(y: RemoteFloat): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that translates along the Y-axis.

#### Parameters

| | |
| --- | --- |
| y | The distance to translate along the Y-axis. |

### createTranslateXy

> Source set: Android

```kotlin
public fun createTranslateXy(x: RemoteFloat, y: RemoteFloat): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that translates along the X-axis and the Y-axis.

#### Parameters

| | |
| --- | --- |
| x | The distance to translate along the X-axis. |
| y | The distance to translate along the Y-axis. |

### createScaleX

> Source set: Android

```kotlin
public fun createScaleX(scale: RemoteFloat): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that scales along the X-axis.

#### Parameters

| | |
| --- | --- |
| scale | The scaling factor. |

### createScaleY

> Source set: Android

```kotlin
public fun createScaleY(scale: RemoteFloat): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that scales along the Y-axis.

#### Parameters

| | |
| --- | --- |
| scale | The scaling factor. |

### createRotationAround

> Source set: Android

```kotlin
public fun createRotationAround(
            angle: RemoteFloat,
            centerX: RemoteFloat,
            centerY: RemoteFloat,
        ): RemoteMatrix3x3
```

Creates a [RemoteMatrix3x3](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteMatrix3x3/api) that rotates around a pivot point on the Z-plane.

#### Parameters

| | |
| --- | --- |
| angle | The angle of rotation. |
| centerX | The X-coordinate of the pivot point. |
| centerY | The Y-coordinate of the pivot point. |
