TuSDKPFEditCuterControllerBase Class Reference

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

Overview

图片编辑裁切旋转控制器基础类

  imageView

图片编辑视图 (旋转,缩放)

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

Declared In

TuSDKPFEditCuterControllerBase.h

  ratioType

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

@property (nonatomic) lsqRatioType ratioType

Declared In

TuSDKPFEditCuterControllerBase.h

  ratioTypeList

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

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

Discussion

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

Declared In

TuSDKPFEditCuterControllerBase.h

  onlyReturnCuter

是否仅返回裁切参数,不返回处理图片

@property (nonatomic) BOOL onlyReturnCuter

Declared In

TuSDKPFEditCuterControllerBase.h

  cuterResult

裁剪结果

@property (nonatomic, setter=setCuterResult:) TuSDKResult *cuterResult

Declared In

TuSDKPFEditCuterControllerBase.h

  zoomRect

缩放选择区域

@property (nonatomic) CGRect zoomRect

Declared In

TuSDKPFEditCuterControllerBase.h

  zoomScale

缩放比例

@property (nonatomic) CGFloat zoomScale

Declared In

TuSDKPFEditCuterControllerBase.h

  currentRatioType

当前裁剪比例类型

@property (nonatomic) lsqRatioType currentRatioType

Declared In

TuSDKPFEditCuterControllerBase.h

  currentRatio

当前裁剪比例

@property (nonatomic) CGFloat currentRatio

Declared In

TuSDKPFEditCuterControllerBase.h

– getRatioTypes

获取当前可用比例列表

- (NSArray<NSNumber*> *)getRatioTypes

Declared In

TuSDKPFEditCuterControllerBase.h

– onImageCompleteAtion

编辑图片完成按钮动作

- (void)onImageCompleteAtion

Declared In

TuSDKPFEditCuterControllerBase.h