SegmentAttributes

public struct SegmentAttributes

A struct for stylings in the DimensionSelector

  • Font color for titles

    Declaration

    Swift

    public var textColor: Color?
  • Font for titles

    Declaration

    Swift

    public var font: Font?
  • Border width for segments

    Declaration

    Swift

    public var borderWidth: CGFloat?
  • Border color for segments

    Declaration

    Swift

    public var borderColor: Color?
  • Background color for segments

    Declaration

    Swift

    public var backgroundColor: Color?
  • A struct for stylings in the DimensionSelector

    Declaration

    Swift

    public init(textColor: Color? = nil,
                font: Font? = nil,
                borderWidth: CGFloat? = nil,
                borderColor: Color? = nil,
                backgroundColor: Color? = nil)

    Parameters

    textColor

    Font color for titles

    font

    Font for titles

    borderColor

    Border color for segments