//
//  NvCanvasView.h
//  SDKDemo
//
//  Created by ms20180425 on 2018/9/27.
 //
//

#import <UIKit/UIKit.h>

@protocol NvCanvasViewDelegate <NSObject>
//触摸开始
- (void)canvasViewState:(CGPoint)statePoint;
//触摸改变
- (void)canvasViewDuration:(int64_t)duration withPosition:(CGPoint)position;
//触摸结束
- (void)canvasViewEnd:(int64_t)duration;

@end

@interface NvCanvasView : UIView

@property (weak, nonatomic) id<NvCanvasViewDelegate> delegate;

@end
