SwiftstructSwiftUICore

struct SwiftUI.Gradient.StopDefinition

Structure

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

inherits{}

Members 2

  1. fieldvar _color: SwiftUI.ProxyCodable<SwiftUI.Color>+0x0
  2. fieldvar location: CoreGraphics.CGFloat
struct StopDefinition {
    enum CodingKeys {
        case color
        case location
    }
    // synthesized from the backing storage `_color`; the property's own accessors are stripped
    @SwiftUI.ProxyCodable var color: SwiftUI.Color {
        get
        set
    }
    var location: CoreGraphics.CGFloat
}