<div class='sourceset sourceset-android'>Android</div>

```kotlin
public interface RemoteShape
```

Defines a generic remote shape.

## Functions

<h2 id="createoutline-size-density-layoutdirection">createOutline</h2>

```kotlin
public fun createOutline(
        size: RemoteSize,
        density: RemoteDensity,
        layoutDirection: LayoutDirection,
    ): RemoteOutline
```

Creates [RemoteOutline](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteOutline) of this shape for the given [size](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/size).

#### Parameters

| | |
| --- | --- |
| size | the size of the shape boundary. |
| layoutDirection | the current layout direction. |
| density | the remote density to apply to the shape. |

#### Returns

| | |
| --- | --- |
|  | [Outline](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Outline) of this shape for the given [size](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/size). |