//
|
// HQImageEditViewController.h
|
// CivilAviation
|
//
|
// Created by iOS on 2019/3/29.
|
// Copyright © 2019 iOS. All rights reserved.
|
//
|
|
#import <UIKit/UIKit.h>
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class HQImageEditViewController;
|
@protocol HQImageEditViewControllerDelegate <NSObject>
|
- (void)cropImageDidFinishedWithImage:(NSString *)imageName bSuccess:(BOOL)bSuccess;
|
@end
|
|
@interface HQImageEditViewController : UIViewController
|
@property (nonatomic, weak) id <HQImageEditViewControllerDelegate> delegate;
|
@property (nonatomic, strong) NSString* mCropFileName;
|
|
@property (nonatomic, assign) int mRATIO_X;
|
@property (nonatomic, assign) int mRATIO_Y;
|
|
/**
|
截取原图
|
*/
|
@property (nonatomic, strong) UIImage *originImage;
|
/**
|
选取框size
|
*/
|
@property (nonatomic, assign) CGSize editViewSize;
|
/**
|
蒙层动画 默认no
|
*/
|
@property (nonatomic, assign) BOOL maskViewAnimation;
|
|
- (instancetype)initWithImage:(UIImage *)originalImage delegate:(id)delegate;
|
|
@end
|
|
NS_ASSUME_NONNULL_END
|