TuSDKPFEditSmudgeController Class Reference

Inherits from TuSDKPFEditSmudgeControllerBase
Conforms to TuSDKPFBrushBarViewDelegate
Declared in TuSDKPFEditSmudgeController.h

Overview

涂抹编辑控制器

  defaultStyleView

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

@property (nonatomic, readonly) TuSDKPFEditSmudgeView *defaultStyleView

Declared In

TuSDKPFEditSmudgeController.h

  delegate

涂抹编辑控制器委托

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

Declared In

TuSDKPFEditSmudgeController.h

  viewClazz

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

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKPFEditSmudgeController.h

  brushBarCellWidth

单元格宽度

@property (nonatomic) NSUInteger brushBarCellWidth

Declared In

TuSDKPFEditSmudgeController.h

  brushBarHeight

单元格高度

@property (nonatomic) NSUInteger brushBarHeight

Declared In

TuSDKPFEditSmudgeController.h

  brushBarCellClazz

单元格视图类 (默认:TuSDKPFBrushTableItemCell, 需要继承 TuSDKPFBrushTableItemCell)

@property (nonatomic, strong) Class brushBarCellClazz

Declared In

TuSDKPFEditSmudgeController.h

  brushGroup

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

@property (nonatomic, retain) NSArray *brushGroup

Declared In

TuSDKPFEditSmudgeController.h

  defaultBrushSize

默认的笔刷大小 (默认: lsqMediumBrush,中等粗细)

@property (nonatomic, assign) lsqBrushSize defaultBrushSize

Declared In

TuSDKPFEditSmudgeController.h

  saveLastBrush

是否保存上一次使用的笔刷 (默认: YES)

@property (nonatomic) BOOL saveLastBrush

Declared In

TuSDKPFEditSmudgeController.h

  maxUndoCount

默认撤销的最大次数 (默认: 5)

@property (nonatomic, assign) NSUInteger maxUndoCount

Declared In

TuSDKPFEditSmudgeController.h