SwiftclassAppStoreKit

class AppStoreKit.Artwork

Structure

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

Members 40

  1. deinitdeinit
  2. fieldlet appearance: AppStoreKit.EditorialMediaAppearance
  3. fieldlet automationMetadata: AppStoreKit.AutomationMetadata?
  4. fieldlet backgroundColor: UIColor?+0x30
  5. fieldlet backgroundGradientColor: UIColor?+0x38
  6. fieldlet contentMode: UIViewContentMode
  7. fieldlet crop: AppStoreKit.Artwork.Crop+0x48
  8. fieldlet cropAspectRatio: JetUI.AspectRatio?
  9. fieldlet editorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?
  10. fieldlet expandedEditorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?
  11. fieldlet id: AnyHashable
  12. fieldlet imageScale: AppStoreKit.Artwork.ImageScale?
  13. fieldlet impressionMetrics: JetEngine.ImpressionMetrics?
  14. fieldlet segue: JetEngine.ActionModel?
  15. fieldlet size: CGSize+0x20
  16. fieldlet style: AppStoreKit.Artwork.Style+0x40
  17. fieldlet template: AppStoreKit.Artwork.URLTemplate+0x10
  18. fieldlet variants: [AppStoreKit.Artwork.Variant]
  19. funcbestVariant(prefersLayeredImage: Bool) -> AppStoreKit.Artwork.Variant
  20. funcconfig(using: CGSize, cropCodeOverride: AppStoreKit.Artwork.Crop?, prefersLayeredImage: Bool) -> AppStoreKit.ArtworkLoaderConfig
  21. funcconfig(using: CGSize) -> AppStoreKit.ArtworkLoaderConfig
  22. funcconfig(_: CGSize, mode: UIViewContentMode, prefersLayeredImage: Bool) -> AppStoreKit.ArtworkLoaderConfig
  23. funcconfiguration(with: UIImageSymbolConfiguration?) -> UIImageSymbolConfiguration?
  24. funcmakeValue(in: JSContext) -> JSValue
  25. funcshouldUseWideGamut(for: AppStoreKit.Artwork.Variant) -> Bool
  26. funcsymbolImageMeasurements(using: UIImageSymbolConfiguration?, fallBackSize: CGSize) -> JUMeasurements
  27. functoGameCenterArtwork() -> GameCenterUI.Artwork
  28. initAppStoreKit.Artwork.__allocating_init(gameCenterArtwork: GameCenterUI.Artwork) -> AppStoreKit.Artwork
  29. initAppStoreKit.Artwork.__allocating_init(deserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> AppStoreKit.Artwork
  30. initAppStoreKit.Artwork.__allocating_init(id: String?, template: AppStoreKit.Artwork.URLTemplate, size: CGSize, backgroundColor: UIColor?, backgroundGradientColor: UIColor?, style: AppStoreKit.Artwork.Style, crop: AppStoreKit.Artwork.Crop, cropAspectRatio: JetUI.AspectRatio?, contentMode: UIViewContentMode?, imageScale: AppStoreKit.Artwork.ImageScale?, variants: [AppStoreKit.Artwork.Variant], editorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?, expandedEditorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?, impressionMetrics: JetEngine.ImpressionMetrics?, automationMetadata: AppStoreKit.AutomationMetadata?, appearance: AppStoreKit.EditorialMediaAppearance?) -> AppStoreKit.Artwork
  31. typealiastypealias ID = Swift.AnyHashable
  32. varfinal var artwork: AppStoreKit.Artwork? { get }
  33. varvar baselineOffsetFromBottom: CoreGraphics.CGFloat? { get }
  34. varvar isBundleImage: Bool { get }
  35. varvar isLandscape: Bool { get }
  36. varvar isLocalImage: Bool { get }
  37. varvar isPortrait: Bool { get }
  38. varvar isSystemImage: Bool { get }
  39. varvar removingStyle: AppStoreKit.Artwork { get }
  40. varvar systemImageName: String? { get }
class Artwork {
    struct Variant {
        let format: AppStoreKit.Artwork.Format
        let quality: Swift.Int?
        let supportsWideGamut: Swift.Bool

        init(deserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws
        init(format: AppStoreKit.Artwork.Format, quality: Swift.Int?, supportsWideGamut: Swift.Bool)
    }
    enum Format {
        case png
        case jpeg
        case heic
        case lcr

        var isLayeredImage: Swift.Bool {
            get
        }

        static func standard(allowingTransparency: Swift.Bool) -> AppStoreKit.Artwork.Format
    }
    enum Style {
        case unspecified
        case roundedRect
        case roundedRectPrerendered
        case roundedRectPrerenderedWithInset
        case round
        case roundPrerendered
        case pill
        case iap
        case tvRect
        case unadorned

        var cornerStyle: AppStoreKit.CornerStyle {
            get
        }
        var isPrerendered: Swift.Bool {
            get
        }

        func iconHeight(fromWidth: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat
        func orIfUnspecified(_: AppStoreKit.Artwork.Style) -> AppStoreKit.Artwork.Style
        func iconCornerRadius(for: __C.CGSize, isPlaceholder: Swift.Bool) -> CoreGraphics.CGFloat
        func iconWidth(fromHeight: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat
        func imageType(isPlaceholder: Swift.Bool) -> __C.LPImageType
    }
    struct URLTemplate {
        enum Key {
            case width
            case height
            case crop
            case format
        }
        let rawValue: Swift.String

        init(deserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws

        var isBundleImage: Swift.Bool {
            get
        }
        var isLocalImage: Swift.Bool {
            get
        }
        var isSystemImage: Swift.Bool {
            get
        }
        var systemImageName: Swift.String? {
            get
        }

        func makeString(withSubstitutions: [AppStoreKit.Artwork.URLTemplate.Key : Swift.String]) -> Swift.String
        func appendingRawQueryItem(name: Swift.String, value: Swift.String) -> AppStoreKit.Artwork.URLTemplate
        func makeURL(withSubstitutions: [AppStoreKit.Artwork.URLTemplate.Key : Swift.String]) -> Foundation.URL?

        static var resourceScheme: Swift.String {
            get
        }
        static var systemImageScheme: Swift.String {
            get
        }
    }
    struct Crop {
        let rawValue: Swift.String

        var preferredContentMode: __C.UIViewContentMode {
            get
        }

        static var boundingBox: AppStoreKit.Artwork.Crop {
            get
        }
        static var condensedSearchStory: AppStoreKit.Artwork.Crop {
            get
        }
        static var ek: AppStoreKit.Artwork.Crop {
            get
        }
        static var el: AppStoreKit.Artwork.Crop {
            get
        }
        static var em: AppStoreKit.Artwork.Crop {
            get
        }
        static var en: AppStoreKit.Artwork.Crop {
            get
        }
        static var ep: AppStoreKit.Artwork.Crop {
            get
        }
        static var fa: AppStoreKit.Artwork.Crop {
            get
        }
        static var fm: AppStoreKit.Artwork.Crop {
            get
        }
        static var fn: AppStoreKit.Artwork.Crop {
            get
        }
        static var fo: AppStoreKit.Artwork.Crop {
            get
        }
        static var iOSIcon: AppStoreKit.Artwork.Crop {
            get
        }
        static var legacyIOSIcon: AppStoreKit.Artwork.Crop {
            get
        }
        static var legacyMacOSIcon: AppStoreKit.Artwork.Crop {
            get
        }
        static var legacyWatchOSIcon: AppStoreKit.Artwork.Crop {
            get
        }
        static var macOSIcon: AppStoreKit.Artwork.Crop {
            get
        }
        static var oa: AppStoreKit.Artwork.Crop {
            get
        }
        static var ob: AppStoreKit.Artwork.Crop {
            get
        }
        static var searchLandingCategoryCircle: AppStoreKit.Artwork.Crop {
            get
        }
        static var searchLandingCategoryPill: AppStoreKit.Artwork.Crop {
            get
        }
        static var searchLandingCategoryPillRTL: AppStoreKit.Artwork.Crop {
            get
        }
        static var searchLandingCategoryTile: AppStoreKit.Artwork.Crop {
            get
        }
        static var searchLandingCategoryTileRTL: AppStoreKit.Artwork.Crop {
            get
        }
        static var sourceSize: AppStoreKit.Artwork.Crop {
            get
        }
        static var specificRectangle: AppStoreKit.Artwork.Crop {
            get
        }
        static var squareCenterCrop: AppStoreKit.Artwork.Crop {
            get
        }
        static var ta: AppStoreKit.Artwork.Crop {
            get
        }
        static var watchOSIcon: AppStoreKit.Artwork.Crop {
            get
        }
    }
    enum ImageScale {
        case small
        case medium
        case large

        var imageScale: SwiftUI.Image.Scale {
            get
        }
        var symbolScale: __C.UIImageSymbolScale {
            get
        }
    }
    let template: AppStoreKit.Artwork.URLTemplate
    let size: __C.CGSize
    let backgroundColor: __C.UIColor?
    let backgroundGradientColor: __C.UIColor?
    let style: AppStoreKit.Artwork.Style
    let crop: AppStoreKit.Artwork.Crop
    let cropAspectRatio: JetUI.AspectRatio?
    let contentMode: __C.UIViewContentMode
    let imageScale: AppStoreKit.Artwork.ImageScale?
    let variants: [AppStoreKit.Artwork.Variant]
    let editorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?
    let expandedEditorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?
    let appearance: AppStoreKit.EditorialMediaAppearance
    let id: Swift.AnyHashable
    let segue: (any JetEngine.ActionModel)?
    let impressionMetrics: JetEngine.ImpressionMetrics?
    let automationMetadata: AppStoreKit.AutomationMetadata?

    init(id: Swift.String?, template: AppStoreKit.Artwork.URLTemplate, size: __C.CGSize, backgroundColor: __C.UIColor?, backgroundGradientColor: __C.UIColor?, style: AppStoreKit.Artwork.Style, crop: AppStoreKit.Artwork.Crop, cropAspectRatio: JetUI.AspectRatio?, contentMode: __C.UIViewContentMode?, imageScale: AppStoreKit.Artwork.ImageScale?, variants: [AppStoreKit.Artwork.Variant], editorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?, expandedEditorialDisplaySpec: AppStoreKit.EditorialMediaDisplaySpec?, impressionMetrics: JetEngine.ImpressionMetrics?, automationMetadata: AppStoreKit.AutomationMetadata?, appearance: AppStoreKit.EditorialMediaAppearance?)
    init(deserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws
    var removingStyle: AppStoreKit.Artwork {
        get
    }
    func bestVariant(prefersLayeredImage: Swift.Bool) -> AppStoreKit.Artwork.Variant
    var isPortrait: Swift.Bool {
        get
    }
    var isLandscape: Swift.Bool {
        get
    }
    func symbolImageMeasurements(using: __C.UIImageSymbolConfiguration?, fallBackSize: __C.CGSize) -> __C.JUMeasurements
    var isBundleImage: Swift.Bool {
        get
    }
    var isSystemImage: Swift.Bool {
        get
    }
    var systemImageName: Swift.String? {
        get
    }
    var isLocalImage: Swift.Bool {
        get
    }
    var baselineOffsetFromBottom: CoreGraphics.CGFloat? {
        get
    }
    func makeValue(in: __C.JSContext) -> __C.JSValue

    init(gameCenterArtwork: GameCenterUI.Artwork)

    final var artwork: AppStoreKit.Artwork? {
        get
    }

    final func toGameCenterArtwork() -> GameCenterUI.Artwork
    final func configuration(with: __C.UIImageSymbolConfiguration?) -> __C.UIImageSymbolConfiguration?
    final func shouldUseWideGamut(for: AppStoreKit.Artwork.Variant) -> Swift.Bool
    final func config(using: __C.CGSize, cropCodeOverride: AppStoreKit.Artwork.Crop?, prefersLayeredImage: Swift.Bool) -> AppStoreKit.ArtworkLoaderConfig
    final func config(using: __C.CGSize) -> AppStoreKit.ArtworkLoaderConfig
    final func config(_: __C.CGSize, mode: __C.UIViewContentMode, prefersLayeredImage: Swift.Bool) -> AppStoreKit.ArtworkLoaderConfig

    deinit
}