NERtc Windows SDK
V4.6.53
|
Public 属性 | |
char | font_path [kNERtcMaxURILength] |
int | font_color |
int | font_size |
int | wm_color |
float | wm_alpha |
int | wm_width |
int | wm_height |
int | offset_x |
int | offset_y |
int nertc::NERtcVideoWatermarkTimestampConfig::font_color |
字体颜色。ARGB 格式。默认为 0xFFFFFFFF,即白色。
char nertc::NERtcVideoWatermarkTimestampConfig::font_path[kNERtcMaxURILength] |
字体文件绝对路径。
int nertc::NERtcVideoWatermarkTimestampConfig::font_size |
字体大小。默认值为 15,单位为像素(px)。
int nertc::NERtcVideoWatermarkTimestampConfig::offset_x |
水平左上角与视频图像左上角的水平距离,单位为像素,默认值为 0。
int nertc::NERtcVideoWatermarkTimestampConfig::offset_y |
水平左上角与视频图像左上角的垂直距离,单位为像素,默认值为 0。
float nertc::NERtcVideoWatermarkTimestampConfig::wm_alpha |
整体水印透明度,取值范围 0.0 ~ 1.0,默认值为 1.0,表示不透明。
int nertc::NERtcVideoWatermarkTimestampConfig::wm_color |
水印框内背景颜色。ARGB 格式,默认值为 0x88888888,即灰色。
支持透明度设置。
int nertc::NERtcVideoWatermarkTimestampConfig::wm_height |
水印框高度,单位为像素(px) ,默认值为 0,表示没有水印框。
int nertc::NERtcVideoWatermarkTimestampConfig::wm_width |
水印框宽度,单位为像素(px) ,默认值为 0,表示没有水印框。