TuSDKCPPaintDrawDisplayView Class Reference

Inherits from UIView
Conforms to TuSDKCPPaintDrawViewInterface
Declared in TuSDKPaintDrawViewBase.h

Overview

真正的涂鸦视图

  delegate

涂鸦回调代理

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

Availability

v3.1.0

Declared In

TuSDKPaintDrawViewBase.h

  maxUndoCount

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

@property (nonatomic, assign) NSUInteger maxUndoCount

Availability

v3.1.0

Declared In

TuSDKPaintDrawViewBase.h

  mBrushScaleSize

笔刷缩放

@property (nonatomic, assign) CGFloat mBrushScaleSize

Availability

v3.1.0

Declared In

TuSDKPaintDrawViewBase.h

  minDistance

笔刷绘制时,上一点与下一点的距离最小满足多大时,才进行绘制 默认 10,范围(0-20)过小时绘制慢时会有锯齿,过大时,绘制就会出现断层

@property (nonatomic, assign) CGFloat minDistance

Availability

v3.1.0

Declared In

TuSDKPaintDrawViewBase.h