TuSDKPFEditTurnAndCutViewController Class Reference

Inherits from TuSDKPFEditTurnAndCutViewControllerBase
Conforms to TuSDKPFNormalFilterGroupDelegate
Declared in TuSDKPFEditTurnAndCutViewController.h

Overview

旋转和裁剪视图控制器

  defaultStyleView

默认样式视图 (如果覆盖 buildDefaultStyleView 方法,实现了自己的视图,defaultStyleView == nil)

@property (nonatomic, readonly) TuSDKPFEditTurnAndCutView *defaultStyleView

Declared In

TuSDKPFEditTurnAndCutViewController.h

  delegate

旋转和裁剪视图控制器委托

@property (nonatomic, weak) id<TuSDKPFEditTurnAndCutDelegate> delegate

Declared In

TuSDKPFEditTurnAndCutViewController.h

  viewClazz

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

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKPFEditTurnAndCutViewController.h

  bottomBarViewClazz

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

@property (nonatomic, strong) Class bottomBarViewClazz

Declared In

TuSDKPFEditTurnAndCutViewController.h

  editImageViewClazz

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

@property (nonatomic, strong) Class editImageViewClazz

Declared In

TuSDKPFEditTurnAndCutViewController.h

  filterViewClazz

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

@property (nonatomic, strong) Class filterViewClazz

Declared In

TuSDKPFEditTurnAndCutViewController.h

  enableFilters

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

@property (nonatomic) BOOL enableFilters

Declared In

TuSDKPFEditTurnAndCutViewController.h

  enableFilterHistory

开启滤镜历史记录

@property (nonatomic) BOOL enableFilterHistory

Declared In

TuSDKPFEditTurnAndCutViewController.h

  enableOnlineFilter

开启在线滤镜

@property (nonatomic) BOOL enableOnlineFilter

Declared In

TuSDKPFEditTurnAndCutViewController.h

  onlineControllerClazz

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

@property (nonatomic) Class onlineControllerClazz

Declared In

TuSDKPFEditTurnAndCutViewController.h

  displayFilterSubtitles

显示滤镜标题视图

@property (nonatomic) BOOL displayFilterSubtitles

Declared In

TuSDKPFEditTurnAndCutViewController.h

  filterGroup

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

@property (nonatomic, retain) NSArray *filterGroup

Declared In

TuSDKPFEditTurnAndCutViewController.h

  filterBarCellWidth

滤镜列表行视图宽度

@property (nonatomic) CGFloat filterBarCellWidth

Declared In

TuSDKPFEditTurnAndCutViewController.h

  filterBarHeight

滤镜列表选择栏高度

@property (nonatomic) CGFloat filterBarHeight

Declared In

TuSDKPFEditTurnAndCutViewController.h

  filterBarGroupCellClazz

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

@property (nonatomic, strong) Class filterBarGroupCellClazz

Declared In

TuSDKPFEditTurnAndCutViewController.h

  filterBarTableCellClazz

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

@property (nonatomic, strong) Class filterBarTableCellClazz

Declared In

TuSDKPFEditTurnAndCutViewController.h

  isRenderFilterThumb

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

@property (nonatomic) BOOL isRenderFilterThumb

Declared In

TuSDKPFEditTurnAndCutViewController.h

– configWithGroupFilterView:

配置滤镜栏视图

- (void)configWithGroupFilterView:(TuSDKCPGroupFilterBaseView *)view

Parameters

view

滤镜栏视图

Declared In

TuSDKPFEditTurnAndCutViewController.h