GradientStop

public struct GradientStop : Hashable

A mediator for Gradient.Stop to allow it to be stored in LegendData.

Gradient.Stop doesn’t conform to Hashable.

  • Undocumented

    Declaration

    Swift

    public var color: Color
  • Undocumented

    Declaration

    Swift

    public var location: CGFloat
  • Undocumented

    Declaration

    Swift

    public init(
        color: Color,
        location: CGFloat
    )