 
 public class UIViewFrameExtension {
     private var view: UIView
-    
+
     fileprivate init(_ view: UIView) {
         self.view = view
     }
-    
+
     /// 视图左上角横坐标值
     public var x: CGFloat {
         get {

            self.frame = frame
        }
    }
    
    /// 视图宽度
    var rat_width: CGFloat {
        get {

            self.center = center
        }
    }

    var rat_centerY: CGFloat {
        get {
            return self.center.y
