text: //
  //  UIView+CZAddition.h
  //
  //  Created by 刘凡 on 16/5/11.
  //  Copyright © 2016年 itheima. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  
  @interface UIView (CZAddition)
  
  @property (nonatomic, assign) CGSize size;
  @property (nonatomic, assign) CGFloat width;
  @property (nonatomic, assign) CGFloat height;
  @property (nonatomic, assign) CGFloat x;
  @property (nonatomic, assign) CGFloat y;
  @property (nonatomic, assign) CGFloat centerX;
  @property (nonatomic, assign) CGFloat centerY;
  
  + (instancetype)viewFromXib;
  
  /// 返回视图截图
  - (UIImage *)cz_snapshotImage;
  
  @end
  