//
//  UIView+EZExtension.h
//  EZOpenSDKDemo
//
//  Created by JuneCheng on 2021/8/12.
//  Copyright © 2021 hikvision. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^ViewBlock)(UIView * _Nullable view);

NS_ASSUME_NONNULL_BEGIN

@interface UIView (EZExtension)

@property (nonatomic, strong) id paramet;

- (void)removeAllSubView;

@property (nonatomic, copy) ViewBlock option;
- (void)addActionBlock:(ViewBlock)option;

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;

@property (nonatomic, assign) CGFloat left;
@property (nonatomic, assign) CGFloat right;
@property (nonatomic, assign) CGFloat top;
@property (nonatomic, assign) CGFloat bottom;

@end

NS_ASSUME_NONNULL_END
