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.
    See more

    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 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 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