TuSDKICSmudgeImageViewWrap Class Reference
Inherits from | UIView |
---|---|
Conforms to | TuSDKICSmudgeImageViewInterface |
Declared in | TuSDKICSmudgeImageViewWrap.h |
delegate
画布操作事件委托
@property (nonatomic, weak) id<TuSDKICSmudgeImageViewDelegate> delegate
Declared In
TuSDKICSmudgeImageViewWrap.h
– setBrushSize:
笔刷粗细, 0 < brushSize <= 1
- (void)setBrushSize:(lsqBrushSize)mBrushSize
Declared In
TuSDKICSmudgeImageViewWrap.h
– setBrushCustomSize:
橡皮粗细 0.05 < mBrushCustomSize < 0.25
- (void)setBrushCustomSize:(CGFloat)mBrushCustomSize
Declared In
TuSDKICSmudgeImageViewWrap.h
– setMaxUndoCount:
默认撤销的最大次数 (默认: 5)
- (void)setMaxUndoCount:(NSUInteger)mMaxUndoCount
Declared In
TuSDKICSmudgeImageViewWrap.h
– showOriginal:
显示原图
- (void)showOriginal:(BOOL)state
Parameters
state |
显示 | 关闭 |
---|
Declared In
TuSDKICSmudgeImageViewWrap.h
– getCanvasImage:
合成最终效果图
- (UIImage *)getCanvasImage:(UIImage *)source
Parameters
source |
原图 |
---|
Declared In
TuSDKICSmudgeImageViewWrap.h
– getSmudgeImage
获取绘制图
- (UIImage *)getSmudgeImage
Return Value
image 效果图
Declared In
TuSDKICSmudgeImageViewWrap.h
– getOriginalImage
获取原始图
- (UIImage *)getOriginalImage
Return Value
image 原始图
Declared In
TuSDKICSmudgeImageViewWrap.h