     
     var lineColor: UIColor = .blackColor() {
         didSet{
-            self.pathLayer.fillColor = lineColor.CGColor
+//            self.pathLayer.strokeColor = lineColor.CGColor
         }
     }
 

    
    override func layoutSubviews() {
        super.layoutSubviews()
        self.pathLayer.frame = self.bounds
        self.redraw()
    }
    
    func redraw() {
        self.appendNewPathToPathLayer()
    }
    
    private func appendNewPathToPathLayer() {
        self.pathLayer.path = self.newPathPart()
    }
    
    private func newPathPart() -> CGPathRef {

    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        self.opaque = false
    }
    
    convenience init(){
        self.init(frame: CGRectZero)
        self.opaque = false
    }
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.opaque = false
    }
    
    func setupPathLayer() {
        
        self.pathLayer             = CAShapeLayer()
        self.pathLayer.strokeColor = UIColor.blackColor().CGColor
        self.pathLayer.lineWidth   = 1.0
        self.layer.addSublayer(self.pathLayer)
        
        self.pathLayer.drawsAsynchronously = true
