增加换肤功能
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) 2024 Tencent. All rights reserved.
|
||||
// Author: eddardliu
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@protocol TUIMultimediaCropDelegate;
|
||||
|
||||
@interface TUIMultimediaCropView : UIView
|
||||
@property(nonatomic) CGRect preViewFrame;
|
||||
@property(weak, nullable, nonatomic) id<TUIMultimediaCropDelegate> delegate;
|
||||
-(void)reset;
|
||||
-(void)rotation90;
|
||||
-(CGRect)getCropRect;
|
||||
@end
|
||||
|
||||
@protocol TUIMultimediaCropDelegate <NSObject>
|
||||
- (void)onStartCrop;
|
||||
- (void)onCropComplete:(CGFloat)scale centerPoint:(CGPoint)centerPoint offset:(CGPoint)offset;
|
||||
@end
|
||||
Reference in New Issue
Block a user