|
plv player sdk doc
|
#include <plv-player-def-CN.h>
Public 成员函数 | |
| OSDConfigInfo () | |
成员变量 | |
| const char * | text |
| 跑马灯内容, 必须使用 utf8. 更多... | |
| int | textSize |
| 字体大小, [1, 255], 默认值 55. 更多... | |
| const char * | textColor |
| 字体颜色值 RGB, 默认值 #000000. 更多... | |
| int | textAlpha |
| 字体透明值, [0, 255], 默认值 255. 更多... | |
| bool | border |
| 是否描边, 默认值 false. 更多... | |
| const char * | borderColor |
| 描边颜色值 RGB. 更多... | |
| int | borderAlpha |
| 描边透明值, [0, 255], 默认值 255. 更多... | |
| int | borderWidth |
| 描边大小, [1, 255], 默认值 1. 更多... | |
| OSD_DISPLAY_TYPE | animationEffect |
| 跑马灯显示动效类型, 默认值 OSD_DISPALY_ROLL. 更多... | |
| int | displayDuration |
| 单次跑马灯显示的时长, 单位: 秒. 默认值 5. 更多... | |
| int | displayInterval |
| 两次跑马灯显示的间隔时长, 单位: 秒. 默认值 1. 更多... | |
| int | fadeDuration |
| 跑马灯文字从显示到消失的渐变动画的时长, 单位: 秒. 默认值 1. 当值为0时, 不显示渐变效果. 当 fadeDuration < displayDuration 时, 循环渐变效果. 对 OSD_DISPALY_ROLL 和 OSD_DISPALY_BLINK 都生效. 更多... | |
跑马灯信息结构.
在文件 plv-player-def-CN.h 第 201 行定义.
|
inline |
在文件 plv-player-def-CN.h 第 202 行定义.
| OSD_DISPLAY_TYPE animationEffect |
| bool border |
是否描边, 默认值 false.
在文件 plv-player-def-CN.h 第 221 行定义.
| int borderAlpha |
描边透明值, [0, 255], 默认值 255.
在文件 plv-player-def-CN.h 第 223 行定义.
| const char* borderColor |
描边颜色值 RGB.
在文件 plv-player-def-CN.h 第 222 行定义.
| int borderWidth |
描边大小, [1, 255], 默认值 1.
在文件 plv-player-def-CN.h 第 224 行定义.
| int displayDuration |
单次跑马灯显示的时长, 单位: 秒. 默认值 5.
| OSD_DISPALY_ROLL | 表示单次滚动的时长(从开始滚入到完全滚出) |
| OSD_DISPALY_BLINK | 表示从开始显示到完全消失所需的时长 |
在文件 plv-player-def-CN.h 第 231 行定义.
| int displayInterval |
两次跑马灯显示的间隔时长, 单位: 秒. 默认值 1.
| OSD_DISPALY_ROLL | 表示两次滚动的间隔时长(从完全滚出到下一次滚入的间隔) |
| OSD_DISPALY_BLINK | 表示两次闪烁的间隔时长(从完全消失到下一次出现的间隔) |
在文件 plv-player-def-CN.h 第 237 行定义.
| int fadeDuration |
跑马灯文字从显示到消失的渐变动画的时长, 单位: 秒. 默认值 1. 当值为0时, 不显示渐变效果. 当 fadeDuration < displayDuration 时, 循环渐变效果. 对 OSD_DISPALY_ROLL 和 OSD_DISPALY_BLINK 都生效.
在文件 plv-player-def-CN.h 第 243 行定义.
| const char* text |
跑马灯内容, 必须使用 utf8.
在文件 plv-player-def-CN.h 第 217 行定义.
| int textAlpha |
字体透明值, [0, 255], 默认值 255.
在文件 plv-player-def-CN.h 第 220 行定义.
| const char* textColor |
字体颜色值 RGB, 默认值 #000000.
在文件 plv-player-def-CN.h 第 219 行定义.
| int textSize |
字体大小, [1, 255], 默认值 55.
在文件 plv-player-def-CN.h 第 218 行定义.