                         let isIntersected: Bool = ruler.path!.isIntersectedRect(with: rect.path!.boundingBox)
 
                         if isIntersected {
-                            let layer = self.drawRect(ruler.path!.intersectBounds(with: rect.path!.boundingBox), number: numberOfScope, isIntersected: true, customColor: rect.boundingBoxStyle.strokeColor)
+                            let layer = self.drawRect(ruler.path!.intersectBounds(with: rect.path!.boundingBox), number: numberOfScope, isIntersected: true, customColor: rect.boundingBoxStyle.strokeColor, lineWidth: rect.boundingBoxStyle.lineWidth)
                             self.intersectedRectangles.append(layer)
                         }
                     }

            return UIColor(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
        }
    }
}

class URShapeLayer: CAShapeLayer {

        }
    }

    func drawRect(_ rect: CGRect, number: Int, needLine: Bool = false, isIntersected: Bool = false, customColor: UIColor! = nil, lineWidth: CGFloat = 2.0) -> URShapeLayer {
        if needLine {
            let layer = URShapeLayer()

