|
plv player sdk doc
|
#include <plv-player-def.h>
Public Member Functions | |
| PLVSubtitleConfigInfo () | |
Data Fields | |
| const char * | textFont |
| font name, default sans-serif. | |
| int | textSize |
| font size, [1, 255], default 38. | |
| const char * | textColor |
| font color ARGB, default #FFFFFFFF. | |
| int | borderSize |
| border size, [0, 55], 0 disables borders, default 2. | |
| const char * | borderColor |
| border color ARGB, default #FF000000. | |
| const char * | backgroundColor |
| background color ARGB, default #00000000. | |
| int | alignX |
| [-1 0 1] horizontal position left-center-right, default 0. | |
| int | alignY |
| [-1 0 1] vertical position top-center-bottom, default 1. | |
| int | posY |
| [0-150] vertical position adjustment, only valid when alignY = 1, default 100. | |
| bool | scaleByWindow |
| whether to scale subtitles with window size, default true. | |
| bool | visible |
| is the subtitle visible, default true. | |
subtitle config info.
Definition at line 452 of file plv-player-def.h.
|
inline |
Definition at line 453 of file plv-player-def.h.
| int alignX |
[-1 0 1] horizontal position left-center-right, default 0.
Definition at line 473 of file plv-player-def.h.
| int alignY |
[-1 0 1] vertical position top-center-bottom, default 1.
Definition at line 474 of file plv-player-def.h.
| const char* backgroundColor |
background color ARGB, default #00000000.
Definition at line 472 of file plv-player-def.h.
| const char* borderColor |
border color ARGB, default #FF000000.
Definition at line 471 of file plv-player-def.h.
| int borderSize |
border size, [0, 55], 0 disables borders, default 2.
Definition at line 470 of file plv-player-def.h.
| int posY |
[0-150] vertical position adjustment, only valid when alignY = 1, default 100.
Definition at line 475 of file plv-player-def.h.
| bool scaleByWindow |
whether to scale subtitles with window size, default true.
Definition at line 476 of file plv-player-def.h.
| const char* textColor |
font color ARGB, default #FFFFFFFF.
Definition at line 469 of file plv-player-def.h.
| const char* textFont |
font name, default sans-serif.
Definition at line 467 of file plv-player-def.h.
| int textSize |
font size, [1, 255], default 38.
Definition at line 468 of file plv-player-def.h.
| bool visible |
is the subtitle visible, default true.
Definition at line 477 of file plv-player-def.h.