RangeStyle
public struct RangeStyle
Represents a style configuration for the ranges.
Important
This is a Public Preview API. It may be changed or removed at any time.Default values for Range style.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Defaults
The fill ColorByZoom
of the range.
Declaration
Swift
public let fillColors: ColorByZoom
Initializes RangeStyle
.
Declaration
Swift
public init(
fillColors: ColorByZoom = Defaults.fillColors,
lineColors: ColorByZoom = Defaults.lineColors,
lineWidths: WidthByZoom = Defaults.lineWidths,
outlineColors: ColorByZoom = Defaults.outlineColors,
outlineWidths: WidthByZoom = Defaults.outlineWidths
)
Parameters
fillColors
|
The fill |
lineColors
|
The |
lineWidths
|
The width, in points unit, of the range’s line. |
outlineColors
|
The |
outlineWidths
|
The width, in points unit, of the range’s outline. |
The ColorByZoom
of the range’s line.
Declaration
Swift
public let lineColors: ColorByZoom
The widths, in points unit, of the range’s line.
Declaration
Swift
public let lineWidths: WidthByZoom
The ColorByZoom
of the range’s outline.
Declaration
Swift
public let outlineColors: ColorByZoom
The width, in points unit, of the range’s outline.
Declaration
Swift
public let outlineWidths: WidthByZoom