Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

clipped(_:)

A view modifier that maps SwiftUI's clipped.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
fun Modifier.clipped(antialiased: Boolean = false): Modifier

Overview

Modifier.clipped()

This is the Kotlin form of SwiftUI View.clipped(antialiased:): SwiftUI documentation. In Swift it reads:

nonisolated func clipped(antialiased: Bool = false) -> some View

Topics

Overloads

fun Modifier.clipped(antialiased: Boolean = false): Modifier
SwiftUI View.clipped(antialiased:)