SwiftstructCarPlayAsset
struct CarPlayAsset.Theme.Palette.LinearGradient
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 4
- field
var endPoint: CarPlayAsset.CPA.UnitPoint - field
var startPoint: CarPlayAsset.CPA.UnitPoint - field
var stops: [CarPlayAsset.Theme.Palette.LinearGradient.Stop]+0x0 - init
init(stops: [CarPlayAsset.Theme.Palette.LinearGradient.Stop], startPoint: CarPlayAsset.CPA.UnitPoint, endPoint: CarPlayAsset.CPA.UnitPoint) -> CarPlayAsset.Theme.Palette.LinearGradient
Header
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) }