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

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

            self.frame = frame
        }
    }

    var rat_size: CGSize {
        get {
            return self.frame.size
        }
        set {
            var frame = self.frame
            frame.size = newValue
            self.frame = frame
        }
    }

    /// 视图中心横坐标
    var rat_centerX: CGFloat {
        get {
