Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View

UnevenRoundedRectangle

The Compose SwiftUI form of SwiftUI's UnevenRoundedRectangle.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
class UnevenRoundedRectangle

Overview

This is the Kotlin form of SwiftUI UnevenRoundedRectangle: SwiftUI documentation. In Swift it reads:

@frozen struct UnevenRoundedRectangle

Topics

Creating a UnevenRoundedRectangle

fun UnevenRoundedRectangleView(unevenRoundedRectangle: UnevenRoundedRectangle, modifier: Modifier = Modifier)
SwiftUI UnevenRoundedRectangle · Renders the value as a view.

Initializers

constructor(cornerRadii: RectangleCornerRadii, style: RoundedCornerStyle = RoundedCornerStyle.continuous)
SwiftUI UnevenRoundedRectangle.init(cornerRadii:style:)
constructor(topLeadingRadius: Double = 0.0, bottomLeadingRadius: Double = 0.0, bottomTrailingRadius: Double = 0.0, topTrailingRadius: Double = 0.0, style: RoundedCornerStyle = RoundedCornerStyle.continuous)
SwiftUI UnevenRoundedRectangle.init(topLeadingRadius:bottomLeadingRadius:bottomTrailingRadius:topTrailingRadius:style:)

Types

class UnevenRoundedRectangle
SwiftUI UnevenRoundedRectangle