 }
 
 extension UIView {
+    public var rat: UIViewFrameExtension {
+        return UIViewFrameExtension(self)
+    }
+    
     /// 视图左上角横坐标值
     var rat_x: CGFloat {
         get {

        base.addSubview(line)
        return line
    }

    /// 为视图添加边线
    ///
    /// - Parameters:

        base.isUserInteractionEnabled = status
        base.isMultipleTouchEnabled = status
    }
    
    // MARK: Rect
    /// 视图尺寸
    var size: CGSize { return base.bounds.size }
    
    /// 视图横坐标最小值
    var minX: CGFloat { return base.frame.minX }
    /// 视图中心横坐标值
    var midX: CGFloat { return base.frame.midX }
    /// 视图横坐标最大值
    var maxX: CGFloat { return base.frame.maxX }
    
    /// 视图纵坐标最小值
    var minY: CGFloat { return base.frame.minY }
    /// 视图中心纵坐标值
