     
     fileprivate func rotateLayer() -> CAShapeLayer {
         let shapeLayer = CAShapeLayer()
-        shapeLayer.strokeColor = lineColor.cgColor
+        shapeLayer.strokeColor = (lineColors.first ?? lineColor).cgColor
         shapeLayer.fillColor = nil
         shapeLayer.lineWidth = lineWidth
         shapeLayer.lineCap = lineCap ? kCALineCapRound : kCALineCapSquare

    func refreshStart(_ scrollView: UIScrollView) {
        sendActions(for: .valueChanged)
        indicator.layer.add(refreshStartAnimation(), forKey: Me.ScaleAnimationKey)
        indicator.startAnimation(true)
        
        let insetTop = initialInsetTop + bounds.height
        

    private func strokeValue(_ value: CGFloat) {
        if pathLayer == nil {
            let shapeLayer = rotateLayer()
            shapeLayer.path = nextRotatePath(.begin).cgPath
            pathLayer = shapeLayer
            indicatorView.layer.addSublayer(shapeLayer)
        }
