Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View

ButtonBorderShape

The Compose SwiftUI form of SwiftUI's ButtonBorderShape.

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

Overview

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

struct ButtonBorderShape

Topics

Creating a ButtonBorderShape

fun ButtonBorderShapeView(buttonBorderShape: ButtonBorderShape, modifier: Modifier = Modifier)
SwiftUI ButtonBorderShape · Renders the value as a view.

Type properties

val roundedRectangle: ButtonBorderShape
SwiftUI ButtonBorderShape.roundedRectangle
val circle: ButtonBorderShape
SwiftUI ButtonBorderShape.circle
val capsule: ButtonBorderShape
SwiftUI ButtonBorderShape.capsule
val automatic: ButtonBorderShape
SwiftUI ButtonBorderShape.automatic

Methods

fun roundedRectangle(radius: Double): ButtonBorderShape
SwiftUI ButtonBorderShape.roundedRectangle(radius:)

Types

class ButtonBorderShape
SwiftUI ButtonBorderShape