SwiftstructGameServices

struct GameServices.Artwork

Structure

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

inherits{}

Members 8

  1. fieldlet backgroundColor: String?+0x20
  2. fieldlet ref: GameServices.Ref<GameServices.ImageEntity>+0x0
  3. fieldlet sourceImageSize: GameServices.Artwork.Size+0x10
  4. fieldlet textColor1: String?+0x30
  5. fieldlet textColor2: String?+0x40
  6. fieldlet textColor3: String?+0x50
  7. fieldlet textColor4: String?+0x60
  8. initinit(ref: GameServices.Ref<GameServices.ImageEntity>, sourceImageSize: GameServices.Artwork.Size, backgroundColor: String?, textColor1: String?, textColor2: String?, textColor3: String?, textColor4: String?) -> GameServices.Artwork
struct Artwork {
    struct Size {
        enum CodingKeys {
            case width
            case height
        }
        let width: Swift.Double
        let height: Swift.Double

        init(width: Swift.Double, height: Swift.Double)

        static var zero: GameServices.Artwork.Size {
            get
        }
    }
    enum CodingKeys {
        case ref
        case sourceImageSize
        case backgroundColor
        case textColor1
        case textColor2
        case textColor3
        case textColor4
    }
    let ref: GameServices.Ref<any GameServices.ImageEntity>
    let sourceImageSize: GameServices.Artwork.Size
    let backgroundColor: Swift.String?
    let textColor1: Swift.String?
    let textColor2: Swift.String?
    let textColor3: Swift.String?
    let textColor4: Swift.String?

    init(ref: GameServices.Ref<any GameServices.ImageEntity>, sourceImageSize: GameServices.Artwork.Size, backgroundColor: Swift.String?, textColor1: Swift.String?, textColor2: Swift.String?, textColor3: Swift.String?, textColor4: Swift.String?)
}