     
     //MARK: - Set origin
     
-    func setOrigin (origin:CGPoint) {
-        var frame = self.frame
-        frame.origin = origin
-        self.frame = frame
+    var origin: CGPoint {
+        set (value) {
+            self.frame.origin = value
+        }
+        get {
+            return self.frame.origin
+        }
     }
     
-    var x:CGFloat {
+    var x: CGFloat {
         
         set (value) {
-            self.setOrigin(CGPointMake(value, frame.origin.y))
+            self.origin = CGPointMake(value, frame.origin.y)
         }
         
         get {

    
    //MARK: - Set size
    
    func setSize (size:CGSize) {
        var frame = self.frame
        frame.size = size
        self.frame = frame
    }
    
    var width:CGFloat {
        
        set (value) {
            self.setSize(CGSizeMake(value, frame.size.height))
        }
        
        get {

    var height:CGFloat {
        
        set (value) {
            self.size = CGSizeMake(frame.size.width, value)
        }
        
        get {
