init(decorative: String, bundle: Bundle?)
Creates an unlabeled, decorative image.
ラベル無しの、装飾的な画像を作成します。
Availability 有効性
Technology
init(decorative cgImage: CGImage
, scale: CGFloat
, orientation: Image
.Orientation
= .up)
cgImage
The base graphical image.
scale
The scale factor for the image, with a value like 1
, 2
, or 3
.
orientation
The orientation of the image. The default is Image
.
SwiftUI ignores this image for accessibility purposes.
init(decorative: String, bundle: Bundle?)