init(decorative: CGImage, scale: CGFloat, orientation: Image.Orientation)
Creates an unlabeled, decorative image based on a Core Graphics image instance.
Availability 有効性
Technology
name
The name of the image resource to lookup
bundle
The bundle to search for the image resource. If nil
, SwiftUI uses the main Bundle
. Defaults to nil
.
SwiftUI ignores this image for accessibility purposes.
init(decorative: CGImage, scale: CGFloat, orientation: Image.Orientation)