|
NERtc iOS SDK
V4.4.301
|
Sets the parameters for text watermarks 更多...
#import <NERtcEngineBase.h>
属性 | |
| NSString * | content |
| Text content. 更多... | |
| CGFloat | fontSize |
| Specifies the font size. 更多... | |
| UIColor * | fontColor |
| Specifies the font color. 更多... | |
| UIColor * | wmColor |
| The background color in the watermark frame. 更多... | |
| CGRect | frame |
| The frame layout of the image. 更多... | |
Sets the parameters for text watermarks
You can add up to 10 text watermarks.
|
readwritenonatomiccopy |
Text content.
If the value is set to empty, no text watermark is added.
|
readwritenonatomicstrong |
Specifies the font color.
ARGB format. The default value is 0xFFFFFFFF, which is white.
|
readwritenonatomicassign |
Specifies the font size.
The default value is 17.
|
readwritenonatomicassign |
The frame layout of the image.
If the width or height is not set, or both are set to 0, the watermark is inserted based on the original image size.
|
readwritenonatomicstrong |
The background color in the watermark frame.
ARGB format. The default value is 0x88888888, which is gray. Transparency setting is supported.