The image to be drawn. 描画されることになる画像。
Initializerinit(image:
init(image:sourceRect:scale:)
Creates a shape-filling shape style.
Availability 有効性
- iOS 13.0+
- iPadOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Technology
- Swift
UI
Declaration 宣言
Parameters パラメータ
image
sourceRect
A unit-space rectangle defining how much of the source image to draw. どのくらいソース画像を描画するか定義している単位空間矩形。 The results are undefined if
source
selects areas outside theRect [0, 1]
range in either axis.scale
A scale factor applied to the image during rendering.