         }
     }
     
+    public var borderEdgeInsets: UIEdgeInsets {
+        get {
+            return self._borderEdgeInsets
+        }
+        set(newBorderEdgeInsets) {
+            self._borderEdgeInsets = newBorderEdgeInsets
+        }
+    }
+    
     public var gridInsetFactor: CGFloat {
         get {
             return self._gridInsetFactor


// MARK: Border
private extension GridLayer {
    func _updateBorderLayer() {
        if self.borderIsShown && self.gridInsetFactor != 0 {
            self._addBorderLayer()
        } else {

    fileprivate var __gridLineWidth: CGFloat = 1
    fileprivate var __borderDashPattern: [NSNumber] = []
    fileprivate var __gridDashPattern: [NSNumber] = []
    fileprivate var __borderEdgeInsets: UIEdgeInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
    fileprivate var __gridInsetFactor: CGFloat = 0.6
    fileprivate var __gridLineOverlapFactor: CGFloat = 0.4
    
