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.-
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
ColorByZoom
of the range.lineColors
The
ColorByZoom
of the range’s line.lineWidths
The width, in points unit, of the range’s line.
outlineColors
The
ColorByZoom
of the range’s outline.outlineWidths
The width, in points unit, of the range’s outline.
-
The fill
ColorByZoom
of the range.Declaration
Swift
public let fillColors: ColorByZoom
-
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