NERtc Windows SDK
V4.4.301
|
#include <nertc_engine_defines.h>
Public 属性 | |
char | content [kNERtcMaxBuffLength] |
char | font_path [kNERtcMaxURILength] |
int | font_size |
int | font_color |
int | offset_x |
int | offset_y |
int | wm_color |
int | wm_width |
int | wm_height |
Parameters for text watermarks.
You can add up to 10 text watermarks.
char nertc::NERtcTextWatermarkConfig::content[kNERtcMaxBuffLength] |
The text content.
int nertc::NERtcTextWatermarkConfig::font_color |
The font color. ARGB format.
char nertc::NERtcTextWatermarkConfig::font_path[kNERtcMaxURILength] |
The font path. If this setting is left empty, the default system font is used.
int nertc::NERtcTextWatermarkConfig::font_size |
The font size. The default value is 10, equivalent to 10 x 15 lb on a 144 dpi device.
int nertc::NERtcTextWatermarkConfig::offset_x |
The horizontal distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels.
int nertc::NERtcTextWatermarkConfig::offset_y |
The vertical distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels.
int nertc::NERtcTextWatermarkConfig::wm_color |
The background color in the watermark frame. ARGB format. Transparency setting is supported.
int nertc::NERtcTextWatermarkConfig::wm_height |
The height of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.
int nertc::NERtcTextWatermarkConfig::wm_width |
The width of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.