PBTrackConfiguration

public struct PBTrackConfiguration

The available progress bar’s track configurations.

  • The corners to be rounded. (optional)

    Declaration

    Swift

    public var roundingCorners: UIRectCorner
  • The value to round each corners. (optional)

    Declaration

    Swift

    public var cornerRadii: CGSize
  • The edge insets of the progress bar. (optional)

    Declaration

    Swift

    public var edgeInsets: UIEdgeInsets
  • Initialize PBTrackConfiguration with the given values.

    Declaration

    Swift

    public init(roundingCorners: UIRectCorner = [], cornerRadii: CGSize = .zero, edgeInsets: UIEdgeInsets = .zero)

    Parameters

    roundingCorners

    The corners to be rounded. (optional)

    cornerRadii

    The value to round each corners. (optional)

    edgeInsets

    The edge insets of the progress bar. (optional)