MultiRangeStyle
public struct MultiRangeStyle
Style of the multi range visualization.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes the multi range visualization style.
Declaration
Swift
public init( overlayStyle: OverlayStyle = Default.overlayStyle, rangeStyles: [String: RangeStyle] = Default.rangeStyles, defaultRangeStyle: RangeStyle = Default.defaultRangeStyle )
Parameters
overlayStyle
Overlay style.
rangeStyles
A map of names to a range styles to style subranges of a reachable range that contains multiple nested polygons.
defaultRangeStyle
Fallback style to use when a named polygon is not handled by
MultiRangeStyle.rangeStyles
style map.
-
Style of the overlay.
Declaration
Swift
public let overlayStyle: OverlayStyle
-
A map of names to a range styles to style subranges of a reachable range that contains multiple nested polygons.
Declaration
Swift
public let rangeStyles: [String : RangeStyle]
-
Fallback style to use when a named polygon is not handled by
MultiRangeStyle.rangeStyles
style map.Declaration
Swift
public let defaultRangeStyle: RangeStyle