text: //
  //  UIView+TXFrame.h
  //  Autoyol
  //
  //  Created by chenxioajie on 14/11/14.
  //  Copyright (c) 2014年 chenxiaojie. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  
  @interface UIView (TXFrame)
  
  @property (nonatomic, assign) CGFloat x;
  @property (nonatomic, assign) CGFloat y;
  @property(nonatomic) CGFloat left;
  @property(nonatomic) CGFloat top;
  @property(nonatomic) CGFloat right;
  @property(nonatomic) CGFloat bottom;
  
  @property(nonatomic) CGFloat width;
  @property(nonatomic) CGFloat height;
  
  @property(nonatomic) CGFloat centerX;
  @property(nonatomic) CGFloat centerY;
  
  @property(nonatomic,readonly) CGFloat screenX;
  @property(nonatomic,readonly) CGFloat screenY;
  @property(nonatomic,readonly) CGFloat screenViewX;
  @property(nonatomic,readonly) CGFloat screenViewY;
  @property(nonatomic,readonly) CGRect screenFrame;
  
  @property(nonatomic) CGPoint origin;
  @property(nonatomic) CGSize size;
  
  @end
  