TuSDKPFEditSmudgeView Class Reference

Inherits from TuSDKPFSmudgeViewBase
Declared in TuSDKPFEditSmudgeView.h

Overview

图片编辑笔刷选择控制器视图

  imageView

涂抹视图

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

Declared In

TuSDKPFEditSmudgeView.h

  brushBar

笔刷栏视图

@property (nonatomic, readonly) TuSDKPFBrushBarView *brushBar

Declared In

TuSDKPFEditSmudgeView.h

  bottomBar

底部动作栏

@property (nonatomic, readonly) TuSDKPFEditSmudgeBottomBar *bottomBar

Declared In

TuSDKPFEditSmudgeView.h

  brushSizeAnimView

笔刷大小演示动画容器

@property (nonatomic, readonly) UIView *brushSizeAnimView

Declared In

TuSDKPFEditSmudgeView.h

  brushGroup

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

@property (nonatomic, retain) NSArray *brushGroup

Declared In

TuSDKPFEditSmudgeView.h

  defaultBrushSize

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

@property (nonatomic, assign) lsqBrushSize defaultBrushSize

Declared In

TuSDKPFEditSmudgeView.h

  saveLastBrush

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

@property (nonatomic) BOOL saveLastBrush

Declared In

TuSDKPFEditSmudgeView.h

  maxUndoCount

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

@property (nonatomic, assign) NSUInteger maxUndoCount

Declared In

TuSDKPFEditSmudgeView.h

– needUpdateLayout

更新布局

- (void)needUpdateLayout

Declared In

TuSDKPFEditSmudgeView.h

– setImage:

设置图片

- (void)setImage:(UIImage *)image

Parameters

image

图片

Declared In

TuSDKPFEditSmudgeView.h

– switchBrushSize

切换笔刷粗细

- (void)switchBrushSize

Declared In

TuSDKPFEditSmudgeView.h