fun Modifier.clipShape(shape: Shape, style: FillStyle = FillStyle()): ModifierOverview
Image(systemName = SFSymbol.personFill, modifier = Modifier.frame(width = 48.0, height = 48.0).clipShape(Circle()))This is the Kotlin form of SwiftUI View.clipShape(_:style:): SwiftUI documentation. In Swift it reads:
nonisolated func clipShape<S>(_ shape: S, style: FillStyle = FillStyle()) -> some View where S : ShapeTopics
Overloads
fun Modifier.clipShape(shape: Shape, style: FillStyle = FillStyle()): Modifier