         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
     }
  
 }

                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)
            
            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
            
            
        }
    }


        return true
    }
    
    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))

