Instance Method
インスタンスメソッド
size(width:
size(width:height:)
Returns a new version of self representing the same shape, but that will ask it to create its path from a rect of size
(width, height)
. This does not affect the layout properties of any views created from the shape (e.g. by filling it).Availability 有効性
- iOS 13.0+
- iPadOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Technology
- Swift
UI