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
PBTrackConfigurationwith the given values.Declaration
Swift
public init(roundingCorners: UIRectCorner = [], cornerRadii: CGSize = .zero, edgeInsets: UIEdgeInsets = .zero)Parameters
roundingCornersThe corners to be rounded. (optional)
cornerRadiiThe value to round each corners. (optional)
edgeInsetsThe edge insets of the progress bar. (optional)
PBTrackConfiguration Structure Reference