             path.lineCapStyle = .round
 
         case .bordered:
-
             let center: CGPoint = CGPoint(x: bounds.midX, y: bounds.midY)
             let offSet = max(outerRingWidth, innerRingWidth) / 2 + (showsValueKnob ? valueKnobSize / 4 : 0) + (outerBorderWidth*2)
             let outerRadius: CGFloat = min(bounds.width, bounds.height) / 2 - offSet

            borderPath.lineCapStyle = outerCapStyle
            outerBorderColor.setStroke()
            borderPath.stroke()
        default:
            break
        }

            let borderEndAngle = outerCapStyle == .butt ? endAngle+outerBorderWidth : endAngle
            let start: CGFloat = fullCircle ? 0 : borderStartAngle.toRads
            let end: CGFloat = fullCircle ? .pi * 2 : borderEndAngle.toRads
            let borderPath = UIBezierPath(arcCenter: center,
                                          radius: outerRadius,
                                          startAngle: start,
