---
title: "image"
description: "Creates a texture brush with a specified image."
type: "function"
lastmod: "2026-06-18T10:32:52.982303Z"
---
## API Reference

### image

> Source set: Android

```kotlin
public fun RemoteBrush.Companion.image(
    image: RemoteImageBitmap,
    tileModeX: ComposeTileMode = ComposeTileMode.Clamp,
    tileModeY: ComposeTileMode = ComposeTileMode.Clamp,
    contentScale: ContentScale = ContentScale.None,
): RemoteBrush
```

Creates a texture brush with a specified [image](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/image).

#### Parameters

| | |
| --- | --- |
| image | The [RemoteImageBitmap](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteImageBitmap) to use |
| tileModeX | The `ComposeTileMode` to use for the bitmap in the x-axis. Defaults to [ComposeTileMode.Clamp](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/clamp) to repeat the edge pixels |
| tileModeY | The `ComposeTileMode` to use for the bitmap in the y-axis. Defaults to [ComposeTileMode.Clamp](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/clamp) to repeat the edge pixels |
| contentScale | The [ContentScale](/jetpack-compose/androidx.compose.ui/ui/interfaces/ContentScale) to use when scaling the bitmap. |
