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

        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)

        imgView.contentMode = .scaleAspectFit
        self.addSubview(imgView)
    }
    
    
    //to draw the centre text
    
    func drawText(rectSize: CGSize) {
        
