New Compose Multiplatform components arrived on Composables UICheck it out →

Modifier in Compose Ui

clip

Common

Clip the content to [shape].

Last updated:

Installation

dependencies {
   implementation("androidx.compose.ui:ui:1.7.0-beta04")
}

Overloads

@Stable
fun Modifier.clip(shape: Shape)

Parameters

namedescription
shapethe content will be clipped to this [Shape].