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 dictionary where each name of polygon corresponds to some style. Reachable range contains multiple nested polygons. Using this dictionary, for each polygon we can get the corresponding style.
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 dictionary where each name of polygon corresponds to some style. Reachable range contains multiple nested polygons. Using this dictionary, for each polygon we can get the corresponding style.
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