---
title: "drawOutline"
description: "Draws the [RemoteOutline] on a [RemoteDrawScope]."
type: "function"
lastmod: "2026-09-24"
---
## API Reference

### drawOutline

> Source set: Android

```kotlin
public fun RemoteDrawScope.drawOutline(outline: RemoteOutline, paint: RemotePaint)
```

Draws the [RemoteOutline](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteOutline/api) on a [RemoteDrawScope](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteDrawScope/api).

#### Parameters

| | |
| --- | --- |
| outline | the outline to draw. |
| paint | the paint used for the drawing. |
