123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // PanoramaGuideView.h
- // LenzCameraNativeModuleForRN
- //
- // Created by 王昭威 on 2023/1/25.
- //
- #import <UIKit/UIKit.h>
- #import "PanoramaOrientationView.h"
- UIKIT_EXTERN CGFloat const PanoramaGuideViewWOrH;
- typedef NS_ENUM(NSInteger, PanoramaArrowDir) {
- PanoramaArrowDirCenter,
- PanoramaArrowDirUp,
- PanoramaArrowDirDown,
- PanoramaArrowDirLeft,
- PanoramaArrowDirRight,
-
- };
- NS_ASSUME_NONNULL_BEGIN
- @interface PanoramaGuideView : UIView
- -(void)direction:(PanoramaOrientationViewDirectionEnum)dir;
- - (void)updatePreviewAspect: (CGFloat)aspect;
- - (void)updateOffset:(CGFloat)offset;
- - (void)showImageWith:(UIImage *_Nullable)image dir:(PanoramaOrientationViewDirectionEnum)dir;
- - (void)clearImage;
- - (void)updateArrowWith:(PanoramaArrowDir)arrowDir dir:(PanoramaOrientationViewDirectionEnum)dir;
- @end
- NS_ASSUME_NONNULL_END
|