                 colorHue += 1.0
             }
             hueMarkerLayer.position = self.getHueMarkerPosition()
-           // lineLayer.transform = CATransform3DMakeRotation(-radians, 0.0, 0.0, 1.0);
-
-            move(hueMarkerLayer, from: oldColorHue, to: colorHue, toRad: radians)
+            move(hueMarkerLayer, from: oldColorHue, to: colorHue)
             
             let color = UIColor(hue: colorHue, saturation: CGFloat(1), brightness: CGFloat(1), alpha: CGFloat(1))
             hueMarkerLayer.backgroundColor = color.cgColor
             colorCenterLayer.backgroundColor = color.cgColor
-            lineLayer.strokeColor = color.cgColor
-            
-            
         }
     }
 

    
    override public init(frame: CGRect) {
        super.init(frame: frame)
    }
    
    func CreateLineLayer() -> CAShapeLayer {
        let width: CGFloat = 130
        let height: CGFloat = 1
        
        let lineLayer = CAShapeLayer()
        lineLayer.frame = CGRect(x: 0, y: 0,
                                  width: width, height: height)
        
        let path = CGMutablePath()
        path.move(to: CGPoint(x: 0, y: height / 2))
        path.addLine(to: CGPoint(x: width, y: height / 2))
        
        lineLayer.path = path
        lineLayer.strokeColor = UIColor.red.cgColor
        lineLayer.lineWidth = 1
        lineLayer.anchorPoint = CGPoint(x: 0, y: height / 2)
        return lineLayer
    }
    
    open func AA() {

        fillLayer2.fillRule = kCAFillRuleEvenOdd
        fillLayer2.fillColor = UIColor.black.cgColor
        colorCenterLayer.mask = fillLayer2
    }
 
}
