TMLineBarIndicator

open class TMLineBarIndicator : TMBarIndicator

Simple indicator that displays as a horizontal line.

  • Color of the line.

    Declaration

    Swift

    open override var tintColor: UIColor! { get set }
  • Weight of the line.

    Options:

    • light: 2.0 pt
    • medium: 4.0 pt
    • heavy: 8.0 pt
    • custom: Custom weight.

    Default: .medium

    Declaration

    Swift

    open var weight: Weight { get set }
  • Corner style for the ends of the line.

    Options:

    • square: Corners are squared off.
    • rounded: Corners are rounded.
    • eliptical: Corners are completely circular.

    Default: .square.

    Declaration

    Swift

    open var cornerStyle: CornerStyle { get set }