the shape to use.
Instance Method
インスタンスメソッド
button
buttonBorderShape(_:)
Sets the border shape for buttons in this view.
Availability 有効性
- iOS 15.0+
- iPadOS 15.0+
- macOS 12.0+
- Mac Catalyst 15.0+
- tvOS 15.0+
- watchOS 8.0+
Technology
- Swift
UI
Declaration 宣言
func buttonBorderShape(_ shape: ButtonBorderShape
) -> some View
Parameters パラメータ
shape
Discussion 議論
The border shape is used to draw the platter for a bordered button.
Note 注意
This will only reflect on explicitly-set .bordered
or bordered
styles. Setting a shape without explicitly setting the above styles will have no effect.