Instance Method
インスタンスメソッド
stroke
strokeBorder(style:antialiased:)
Returns a view that is the result of insetting
self
by style.lineWidth / 2
, stroking the resulting shape with style
, and then filling with the foreground color.Availability 有効性
- iOS 13.0+
- iPadOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Technology
- Swift
UI
Declaration 宣言
func strokeBorder(style: StrokeStyle
, antialiased: Bool
= true) -> some View