SwiftstructCarPlayAsset

struct CarPlayAsset.Theme.Palette.LinearGradient

Structure

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

inherits{}

Members 4

  1. fieldvar endPoint: CarPlayAsset.CPA.UnitPoint
  2. fieldvar startPoint: CarPlayAsset.CPA.UnitPoint
  3. fieldvar stops: [CarPlayAsset.Theme.Palette.LinearGradient.Stop]+0x0
  4. initinit(stops: [CarPlayAsset.Theme.Palette.LinearGradient.Stop], startPoint: CarPlayAsset.CPA.UnitPoint, endPoint: CarPlayAsset.CPA.UnitPoint) -> CarPlayAsset.Theme.Palette.LinearGradient
struct CarPlayAsset.Theme.Palette.LinearGradient {
    struct Stop {
        enum CodingKeys {
            case location
            case color
        }
        var location: CoreGraphics.CGFloat
        var color: CarPlayAsset.DynamicAppearanceValue<CarPlayAsset.CPA.Color>

        init(location: CoreGraphics.CGFloat, color: CarPlayAsset.DynamicAppearanceValue<CarPlayAsset.CPA.Color>)
    }
    enum CodingKeys {
        case stops
        case startPoint
        case endPoint
    }
    var stops: [CarPlayAsset.Theme.Palette.LinearGradient.Stop]
    var startPoint: CarPlayAsset.CPA.UnitPoint
    var endPoint: CarPlayAsset.CPA.UnitPoint

    init(stops: [CarPlayAsset.Theme.Palette.LinearGradient.Stop], startPoint: CarPlayAsset.CPA.UnitPoint, endPoint: CarPlayAsset.CPA.UnitPoint)
}