WatermarkBuffer
- iOS
更新时间不可用
配置水印图像的格式、尺寸和像素缓冲区。
__attribute__((visibility("default"))) @interface WatermarkBuffer : NSObject
@property(assign, nonatomic) int width;
@property(assign, nonatomic) int height;
@property(assign, nonatomic) int length;
@property(strong, nonatomic) NSData* _Nullable buffer;
@property(assign, nonatomic) WatermarkBufferFormat format;
@end自从
自 v4.6.0 版本新增。
包括图像的宽度、高度、长度、图像数据缓冲区和格式。
属性
| 参数名 | 描述 |
|---|---|
width | |
height | |
length | |
buffer | |
format | 水印缓冲区的格式,详见 WatermarkBufferFormat。 |