|
plv player sdk doc
|
#include <plv-player-def-CN.h>
Public 成员函数 | |
| PLVOsdConfigInfo () | |
成员变量 | |
| const char * | text |
| 跑马灯内容, 必须使用 utf8. | |
| int | textSize |
| 字体大小, [1, 255], 默认值 55. | |
| const char * | textColor |
| 字体颜色值 ARGB, 默认值 #FF000000. | |
| int | borderSize |
| 描边大小, [0, 255], 0 值时描边失效 ,默认值 1. | |
| const char * | borderColor |
| 描边颜色值 ARGB, 默认值 #FFFFFFFF. | |
| OSD_DISPLAY_TYPE | animationEffect |
| 跑马灯显示动效类型, 默认值 OSD_DISPALY_ROLL. | |
| int | displayDuration |
| 单次跑马灯显示的时长, 单位: 秒. 默认值 5 秒. | |
| int | displayInterval |
| 两次跑马灯显示的间隔时长, 单位: 秒. 默认值 1 秒. | |
| int | fadeDuration |
| 跑马灯文字从显示到消失的渐变动画的时长, 单位: 秒. 默认值 3 秒. | |
跑马灯信息结构.
在文件 plv-player-def-CN.h 第 265 行定义.
|
inline |
在文件 plv-player-def-CN.h 第 266 行定义.
| OSD_DISPLAY_TYPE animationEffect |
| const char* borderColor |
描边颜色值 ARGB, 默认值 #FFFFFFFF.
在文件 plv-player-def-CN.h 第 282 行定义.
| int borderSize |
描边大小, [0, 255], 0 值时描边失效 ,默认值 1.
在文件 plv-player-def-CN.h 第 281 行定义.
| int displayDuration |
单次跑马灯显示的时长, 单位: 秒. 默认值 5 秒.
在文件 plv-player-def-CN.h 第 289 行定义.
| int displayInterval |
两次跑马灯显示的间隔时长, 单位: 秒. 默认值 1 秒.
在文件 plv-player-def-CN.h 第 295 行定义.
| int fadeDuration |
跑马灯文字从显示到消失的渐变动画的时长, 单位: 秒. 默认值 3 秒.
在文件 plv-player-def-CN.h 第 302 行定义.
| const char* text |
跑马灯内容, 必须使用 utf8.
在文件 plv-player-def-CN.h 第 278 行定义.
| const char* textColor |
字体颜色值 ARGB, 默认值 #FF000000.
在文件 plv-player-def-CN.h 第 280 行定义.
| int textSize |
字体大小, [1, 255], 默认值 55.
在文件 plv-player-def-CN.h 第 279 行定义.