TuSDKPFEditTurnAndCutOptions Class Reference

Inherits from TuSDKCPImageResultOptions
Declared in TuSDKPFEditTurnAndCutOptions.h

Overview

旋转和裁剪视图控制器配置选项

  viewClazz

视图类 (默认:TuSDKPFEditTurnAndCutView, 需要继承 TuSDKPFEditTurnAndCutView)

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKPFEditTurnAndCutOptions.h

  bottomBarViewClazz

旋转和裁剪视图控制栏类 (默认:TuSDKPFEditTurnAndCutBottomView, 需要继承 TuSDKPFEditTurnAndCutBottomView)

@property (nonatomic, strong) Class bottomBarViewClazz

Declared In

TuSDKPFEditTurnAndCutOptions.h

  editImageViewClazz

图片编辑视图 (旋转,缩放)类 (默认:TuSDKICTouchImageView, 需要继承 TuSDKICTouchImageView)

@property (nonatomic, strong) Class editImageViewClazz

Declared In

TuSDKPFEditTurnAndCutOptions.h

  filterViewClazz

滤镜列表视图类 (默认:TuSDKPFNormalFilterGroupView, 需要继承 TuSDKPFNormalFilterGroupView)

@property (nonatomic, strong) Class filterViewClazz

Declared In

TuSDKPFEditTurnAndCutOptions.h

  enableFilters

是否开启滤镜支持 (默认: 关闭)

@property (nonatomic) BOOL enableFilters

Declared In

TuSDKPFEditTurnAndCutOptions.h

  enableFilterHistory

开启滤镜历史记录

@property (nonatomic) BOOL enableFilterHistory

Declared In

TuSDKPFEditTurnAndCutOptions.h

  enableOnlineFilter

开启在线滤镜

@property (nonatomic) BOOL enableOnlineFilter

Declared In

TuSDKPFEditTurnAndCutOptions.h

  displayFilterSubtitles

显示滤镜标题视图

@property (nonatomic) BOOL displayFilterSubtitles

Declared In

TuSDKPFEditTurnAndCutOptions.h

  onlineControllerClazz

在线滤镜控制器类型 (需要继承 UIViewController,以及实现TuSDKCPFilterOnlineControllerInterface接口)

@property (nonatomic) Class onlineControllerClazz

Declared In

TuSDKPFEditTurnAndCutOptions.h

  filterGroup

需要显示的滤镜名称列表 (如果为空将显示所有自定义滤镜)

@property (nonatomic, retain) NSArray *filterGroup

Declared In

TuSDKPFEditTurnAndCutOptions.h

  filterBarCellWidth

滤镜列表行视图宽度

@property (nonatomic) CGFloat filterBarCellWidth

Declared In

TuSDKPFEditTurnAndCutOptions.h

  filterBarHeight

滤镜列表选择栏高度

@property (nonatomic) CGFloat filterBarHeight

Declared In

TuSDKPFEditTurnAndCutOptions.h

  filterBarGroupCellClazz

滤镜分组列表行视图类 (默认:TuSDKCPGroupFilterGroupCell, 需要继承 TuSDKCPGroupFilterGroupCell)

@property (nonatomic, strong) Class filterBarGroupCellClazz

Declared In

TuSDKPFEditTurnAndCutOptions.h

  filterBarTableCellClazz

滤镜列表行视图类 (默认:TuSDKCPGroupFilterItem, 需要继承 TuSDKCPGroupFilterItem)

@property (nonatomic, strong) Class filterBarTableCellClazz

Declared In

TuSDKPFEditTurnAndCutOptions.h

  cutSize

需要裁剪的长宽

@property (nonatomic) CGSize cutSize

Declared In

TuSDKPFEditTurnAndCutOptions.h

  isRenderFilterThumb

是否渲染滤镜封面 (使用设置的滤镜直接渲染,需要拥有滤镜列表封面设置权限,请访问TUTUCLOUD.com控制台)

@property (nonatomic) BOOL isRenderFilterThumb

Declared In

TuSDKPFEditTurnAndCutOptions.h

– viewController

创建旋转和裁剪视图控制器对象

- (TuSDKPFEditTurnAndCutViewController *)viewController

Return Value

controller 旋转和裁剪视图控制器对象

Declared In

TuSDKPFEditTurnAndCutOptions.h