var path = UIBezierPath()
path.addArc(withCenter: centerPoint, radius: outerTrackRadius, startAngle: startAngle, endAngle: outerRingEndAngle, clockwise: true)
outerRingColor.setStroke()
path.lineWidth = outerRingThickness * radius
path.lineCapStyle = .round
path.stroke()
path.removeAllPoints()
path.addArc(withCenter: centerPoint, radius: innerTrackRadius, startAngle: startAngle, endAngle: innerRingEndAngle, clockwise: true)
innerRingColor.setStroke()
path.lineWidth = innerRingThickness * radius
path.lineCapStyle = .round
path.stroke()