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

```kotlin
public abstract class RemoteCornerBasedShape
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public constructor(
    public val topStart: RemoteCornerSize,
    public val topEnd: RemoteCornerSize,
    public val bottomEnd: RemoteCornerSize,
    public val bottomStart: RemoteCornerSize,
) : RemoteShape
```

Base class for [RemoteShape](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/RemoteShape)s defined by four [RemoteCornerSize](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/RemoteCornerSize)s.

#### Parameters

| | |
| --- | --- |
| topStart | a size of the top start corner |
| topEnd | a size of the top end corner |
| bottomEnd | a size of the bottom end corner |
| bottomStart | a size of the bottom start corner |

## Functions

<h2 id="createoutline-topstart-topend-bottomend-bottomstart">createOutline</h2>

```kotlin
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
    public abstract fun createOutline(
        topStart: RemoteFloat,
        topEnd: RemoteFloat,
        bottomEnd: RemoteFloat,
        bottomStart: RemoteFloat,
    ): RemoteOutline
```

Creates [RemoteOutline](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteOutline) of this shape.

#### Parameters

| | |
| --- | --- |
| topStart | the resolved size of the top start corner |
| topEnd | the resolved size for the top end corner |
| bottomEnd | the resolved size for the bottom end corner |
| bottomStart | the resolved size for the bottom start corner |