RangeVisualizationStyle

public struct RangeVisualizationStyle

Represents the style used to display a reachable range.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • The default fallback style for a Range.

    Declaration

    Swift

    public let defaultRangeStyle: RangeStyle
  • Default values for Range visualization style.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum Defaults
  • Initializes RangeVisualizationStyle.

    Declaration

    Swift

    public init(
        outerColors: ColorByZoom = Defaults.outerColors,
        rangeStyles: [String: RangeStyle] = [:],
        defaultRangeStyle: RangeStyle = RangeStyle()
    )

    Parameters

    outerColors

    The ColorByZoom of the area outside of the reachable range.

    rangeStyles

    The styles for each named Range.

    defaultRangeStyle

    The default fallback style for a Range

  • The ColorByZoom of the area outside of the reachable range.

    Declaration

    Swift

    public let outerColors: ColorByZoom
  • The styles for each named Range.

    Declaration

    Swift

    public let rangeStyles: [String : RangeStyle]