#import <JRTCRecordWatermark.h>
◆ initPosX:posY:font:textColor:text:
- (instancetype) initPosX: |
|
(int) |
posX |
posY: |
|
(int) |
posY |
font: |
|
(UIFont *_Nonnull) |
font |
textColor: |
|
(NSUInteger) |
textColor |
text: |
|
(NSString *) |
text |
|
|
| |
初始化文字水印
- 参数
-
posX | 相对于原点(左上角),X轴坐标(右为正数) |
posY | 相对于原点(左上角),Y轴坐标(下为正数) |
font | 字体样式 |
textColor | 文字颜色 16进制rgba转成NSUInteger |
text | 文本内容 |
◆ initPosX:posY:fontSize:textColor:text:
- (instancetype) initPosX: |
|
(int) |
posX |
posY: |
|
(int) |
posY |
fontSize: |
|
(int) |
fontSize |
textColor: |
|
(NSUInteger) |
textColor |
text: |
|
(NSString *) |
text |
|
|
| |
初始化文字水印
- 参数
-
posX | 相对于原点(左上角),X轴坐标(右为正数) |
posY | 相对于原点(左上角),Y轴坐标(下为正数) |
fontSize | 字体大小 |
textColor | 文字颜色 16进制rgba转成NSUInteger |
text | 文本内容 |