Instance Method
インスタンスメソッド
stroke
strokeBorder(lineWidth:antialiased:)
Returns a view that is the result of filling the
width
-sized border (aka inner stroke) of self
with the foreground color. This is equivalent to insetting self
by width / 2
and stroking the resulting shape with width
as the line-width.Availability 有効性
- iOS 13.0+
- iPadOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Technology
- Swift
UI