//
//  NvDragBarView.h
//  SDKDemo
//
//  Created by dx on 2018/6/21.
 //
//

#import <UIKit/UIKit.h>
//拖拽框属性
typedef enum {
    freeMode = 0,
    roundMode,
    squreMode
} DragMode;

@protocol NvDragBarViewDelegate <NSObject>

- (void)movePoint:(CGPoint) point;              //缩放功能委托函数

@end

@interface NvDragBarView : UIView {
    CGPoint startPoint;
    UIImageView * imageView;
}

@property (weak, nonatomic) id <NvDragBarViewDelegate> delegate;
@property (assign, nonatomic) CGFloat scale;                //拖拽框横纵比
@property (assign, nonatomic) DragMode mode;

@end
