Return Value 戻り値
An image, with the new resizing behavior set.
Availability 有効性
Technology
func resizable(capInsets: EdgeInsets
= EdgeInsets(), resizingMode: Image
.ResizingMode
= .stretch) -> Image
An image, with the new resizing behavior set.
capInsets
Inset values that indicate a portion of the image that SwiftUI doesn’t resize.
resizingMode
The mode by which SwiftUI resizes the image.