SwiftstructMusicUI

struct MusicUI.Artwork

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 2

  1. fieldlet contents: MusicKit.Artwork
  2. fieldlet cropStyle: MusicKit.Artwork.CropStyle
struct Artwork {
    enum Styling {
        case square
        case brick
    }
    enum Shape {
        struct Inset {
            let shape: MusicUI.Artwork.Shape
            let rectangleCornerRadius: CoreGraphics.CGFloat
            let inset: CoreGraphics.CGFloat
        }
        case square
        case circle
        case brick
    }
    enum Placeholder {
        enum Model {
            case symbolImage(MusicUI.Artwork.Placeholder.SymbolConfiguration)
            case artwork(MusicUI.Artwork.Placeholder.ArtworkConfiguration)
            case monogramAvatarView(name: Swift.String)
        }
        struct SymbolConfiguration {
            let symbolName: Swift.String
            let weight: SwiftUI.Font.Weight
            let scale: CoreGraphics.CGFloat
        }
        struct ArtworkConfiguration {
            let artwork: MusicKit.Artwork
            let scale: CoreGraphics.CGFloat
        }
        case person(name: Swift.String?)
        case music
        case playlist
        case folder
        case musicVideo
        case tv
        case microphone
        case radio
        case genre
        case composer
    }
    let contents: MusicKit.Artwork
    let cropStyle: MusicKit.Artwork.CropStyle
}