KSYGPUBrushStreamerKit Class Reference

Inherits from KSYGPUStreamerKit : NSObject
Declared in KSYGPUBrushStreamerKit.h

  drawPicRect

绘制图片的位置和大小

@property (nonatomic, readwrite) CGRect drawPicRect

Discussion

位置和大小的单位为预览视图的百分比, 左上角为(0,0), 右下角为(1.0, 1.0)

如果宽为0, 则根据图像的宽高比, 和设置的高度比例, 计算得到宽度的比例

如果高为0, 方法同上

Declared In

KSYGPUBrushStreamerKit.h

  drawLayer

画笔图层

@property (nonatomic, readonly) NSInteger drawLayer

Declared In

KSYGPUBrushStreamerKit.h

  drawPic

绘制的图片

@property (nonatomic, readwrite) KSYGPUViewCapture *drawPic

Discussion

设置为nil为清除内容图片

Declared In

KSYGPUBrushStreamerKit.h

– removeDrawLayer

去掉画笔图层

- (void)removeDrawLayer

Declared In

KSYGPUBrushStreamerKit.h