# SpatialShape

Artifact: [androidx.xr.compose:compose](https://developer.android.com/jetpack/androidx/releases/xr-compose) [View Source](https://cs.android.com/search?q=file:androidx/xr/compose/subspace/layout/SpatialShape.kt+class:androidx.xr.compose.subspace.layout.SpatialShape) Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)


```
sealed interface SpatialShape
```

<br />

Known direct subclasses [SpatialRoundedCornerShape](https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialRoundedCornerShape)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SpatialRoundedCornerShape` | A shape describing a rectangle with rounded corners in 3D space. |

*** ** * ** ***

Base type for shapes that could be applied to spatial elements.