             return UIColor(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
         }
     }
+
+    var lineWidth: CGFloat {
+        switch self {
+        case .forCurves:
+            return 1.0
+        case .forDots:
+            return 2.0
+        }
+    }
 }
 
 class URShapeLayer: CAShapeLayer {

                }
            }
            layer.fillColor = nil
            layer.lineWidth = 2

            layer.drawsAsynchronously = true


                        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, lineWidth: rect.boundingBoxStyle.lineWidth)
                            self.intersectedRectangles.append(layer)
                        }
                    }
