         return true
     }
     
-    func move(_ layer: CALayer, from oldHue: CGFloat, to newHue: CGFloat, toRad toRad:CGFloat) {
+    func move(_ layer: CALayer, from oldHue: CGFloat, to newHue: CGFloat) {
         let path: CGMutablePath = CGMutablePath()
         let center = CGPoint(x: CGFloat(self.bounds.size.width / 2.0), y: CGFloat(self.bounds.size.height / 2.0))
 

        fillLayer2.fillRule = kCAFillRuleEvenOdd
        fillLayer2.fillColor = UIColor.black.cgColor
        colorCenterLayer.mask = fillLayer2
        
        lineLayer.frame = CGRect(origin: CGPoint(x: CGFloat(0), y: CGFloat(0)), size: CGSize(width: radius, height: lineLayer.frame.height))
        lineLayer.position = center
    }
 
}

    var hueCircleLayer: HueCircleLayer!
    var hueMarkerLayer: CALayer!
    var colorCenterLayer: CALayer!
    
    var hueGestureRecognizer: UILongPressGestureRecognizer!
    
