case small
A scale that produces small images.
case medium
A scale that produces medium-sized images.
case large
A scale that produces large images.
Availability 有効性
Technology
enum Scale
Use this type with the image
modifier, or the image
environment key, to set the image scale.
The following example shows the three Scale
values as applied to a system symbol image, each set against a text view:
HStack { Image(systemName: "swift").imageScale(.small); Text("Small") }
HStack { Image(systemName: "swift").imageScale(.medium); Text("Medium") }
HStack { Image(systemName: "swift").imageScale(.large); Text("Large") }
case small
case medium
case large
static func != (Self, Self) -> Bool
static func == (Image.Scale, Image.Scale) -> Bool
func hash(into: inout Hasher)
var hashValue : Int
struct Image
enum Orientation
enum ResizingMode