         
         return newImage!
     }
+    
+    
+    
+    
 }
 
 extension KXThumbCircularProgressBar: CAAnimationDelegate {

    @objc optional func arcAnimationDidStop()
}

/// This file creates a resuable component Arc view.

let π: CGFloat = CGFloat(M_PI)

@IBDesignable public class KXThumbCircularProgressBar: UIView {
    
    @IBInspectable public var ringBackgroundColour: UIColor = UIColor(netHex: 0xaba8a8)
    @IBInspectable public var ringForegroundColour: UIColor = UIColor.green
    
    
    //	@IBInspectable public var backgroundImage: UIImage?
    

        path.stroke()
    }
    
    
    
    
    
    /**
     Code for animating the color on arc as well as the thumb slider
     
     - parameter loaderValue: the value passed to the animation code. Must be between 0 to 1
     */
    
    
    private func animateArc(loaderValue: CGFloat) {
        
        let center = CGPoint(x: bounds.width / 2, y: bounds.height / 2)
