TuSDKPFEditEntryControllerBase Class Reference

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

Overview

图片编辑入口控制器基础类

  imageView

图片视图

@property (nonatomic, readonly) UIView<TuSDKCPFilterStickerViewInterface> *imageView

Declared In

TuSDKPFEditEntryControllerBase.h

  limitSideSize

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

@property (nonatomic) NSUInteger limitSideSize

Declared In

TuSDKPFEditEntryControllerBase.h

  limitForScreen

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

@property (nonatomic) BOOL limitForScreen

Declared In

TuSDKPFEditEntryControllerBase.h

  ratioType

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

@property (nonatomic) lsqRatioType ratioType

Declared In

TuSDKPFEditEntryControllerBase.h

  ratioTypeList

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

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

Discussion

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

Declared In

TuSDKPFEditEntryControllerBase.h

  filterImage

滤镜处理过的原始图片

@property (nonatomic, readonly) UIImage *filterImage

Declared In

TuSDKPFEditEntryControllerBase.h

  cuterImage

经过裁剪的原始图片

@property (nonatomic, readonly) UIImage *cuterImage

Declared In

TuSDKPFEditEntryControllerBase.h

  cuterResult

裁剪结果

@property (nonatomic, retain) TuSDKResult *cuterResult

Declared In

TuSDKPFEditEntryControllerBase.h

  filterWrap

当前所使用的滤镜

@property (nonatomic, retain) TuSDKFilterWrap *filterWrap

Declared In

TuSDKPFEditEntryControllerBase.h

– getRatioTypes

获取当前可用比例列表

- (NSArray<NSNumber*> *)getRatioTypes

Declared In

TuSDKPFEditEntryControllerBase.h

– onEntryAction:

开启响应处理控制器

- (void)onEntryAction:(UIButton *)btn

Parameters

btn

入口按钮

Declared In

TuSDKPFEditEntryControllerBase.h

– appendSticker:

添加贴纸数据

- (void)appendSticker:(TuSDKPFSticker *)sticker

Parameters

sticker

贴纸数据

Declared In

TuSDKPFEditEntryControllerBase.h

– onImageCompleteAtion

编辑图片完成按钮动作

- (void)onImageCompleteAtion

Declared In

TuSDKPFEditEntryControllerBase.h