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 content
.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<S>(_ content: S, style: StrokeStyle
, antialiased: Bool
= true) -> some View
where S : ShapeStyle