TuSDKPFEditMultipleControllerBase Class Reference

Inherits from TuSDKCPImageResultController : TuSDKCPResultViewController : TuSDKCPViewController : TuSDKICViewController : UIViewController
Declared in TuSDKPFEditMultipleControllerBase.h

Overview

多功能图像编辑控制器基础类

  limitSideSize

最大输出图片边长 (默认:0, 不限制图片宽高)

@property (nonatomic) NSUInteger limitSideSize

Declared In

TuSDKPFEditMultipleControllerBase.h

  limitForScreen

最大输出图片按照设备屏幕 (默认:true, 如果设置了LimitSideSize, 将忽略LimitForScreen)

@property (nonatomic) BOOL limitForScreen

Declared In

TuSDKPFEditMultipleControllerBase.h

  ratioType

视频视图显示比例类型 (默认:lsqRatioDefault, 如果设置cameraViewRatio > 0, 将忽略ratioType)

@property (nonatomic) lsqRatioType ratioType

Declared In

TuSDKPFEditMultipleControllerBase.h

  ratioTypeList

视图显示比例类型列表 ( 优先级 ratioTypeList > ratioType, 默认:lsqTuSDKRatioDefaultTypes)

@property (nonatomic) NSArray<NSNumber*> *ratioTypeList

Discussion

设置 NSNumber 型数组来控制显示的按钮顺序, 例如: @[@(lsqRatioOrgin), @(lsqRatio_1_1), @(lsqRatio_2_3), @(lsqRatio_3_4)]

Declared In

TuSDKPFEditMultipleControllerBase.h

  disableStepsSave

是否禁用操作步骤记录

@property (nonatomic) BOOL disableStepsSave

Declared In

TuSDKPFEditMultipleControllerBase.h

  modules

功能模块列表 lsqTuSDKCPEditActionType (默认全部加载, [TuSDKCPEditActionType multipleActionTypes])

@property (nonatomic, retain) NSArray *modules

Declared In

TuSDKPFEditMultipleControllerBase.h

  displayImage

显示的图片

@property (nonatomic, retain) UIImage *displayImage

Declared In

TuSDKPFEditMultipleControllerBase.h

– getRatioTypes

获取当前可用比例列表

- (NSArray<NSNumber*> *)getRatioTypes

Declared In

TuSDKPFEditMultipleControllerBase.h

– asyncLoadImage

异步加载输入图片

- (UIImage *)asyncLoadImage

Return Value

异步加载输入图片

Declared In

TuSDKPFEditMultipleControllerBase.h

– refreshStepStates

刷新操作步骤状态

- (void)refreshStepStates

Declared In

TuSDKPFEditMultipleControllerBase.h

– onRefreshStepStatesWithHistories:brushies:

刷新操作步骤状态

- (void)onRefreshStepStatesWithHistories:(NSUInteger)histories brushies:(NSUInteger)brushies

Discussion

@param histories 历史记录数 @param brushies 丢弃的记录数

Declared In

TuSDKPFEditMultipleControllerBase.h

– onRefreshAutoAdjustButtonEnable:

刷新自动较色按钮状态

- (void)onRefreshAutoAdjustButtonEnable:(BOOL)enable

Parameters

enable

是否可用

Declared In

TuSDKPFEditMultipleControllerBase.h

– lastStepTemp

获取最后执行的步骤

- (NSString *)lastStepTemp

Return Value

最后执行的步骤

Declared In

TuSDKPFEditMultipleControllerBase.h

– appendHistory:

添加一条操作

- (void)appendHistory:(NSString *)temp

Parameters

temp

操作文件路径

Declared In

TuSDKPFEditMultipleControllerBase.h

– onStepPreviewAction

操作记录后退

- (void)onStepPreviewAction

Declared In

TuSDKPFEditMultipleControllerBase.h

– onStepNextAction

操作记录前进

- (void)onStepNextAction

Declared In

TuSDKPFEditMultipleControllerBase.h

– onAutoAdjustAction

自动校色按钮动作

- (void)onAutoAdjustAction

Declared In

TuSDKPFEditMultipleControllerBase.h

– onEditWithAction:

开启响应处理控制器

- (void)onEditWithAction:(UIButton *)btn

Parameters

btn

入口按钮

Declared In

TuSDKPFEditMultipleControllerBase.h

– onImageCompleteAtion

编辑图片完成按钮动作

- (void)onImageCompleteAtion

Declared In

TuSDKPFEditMultipleControllerBase.h