plv player sdk doc
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
PLVSubtitleConfigInfo Struct Reference

#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.
 

Detailed Description

subtitle config info.

Definition at line 452 of file plv-player-def.h.

Constructor & Destructor Documentation

◆ PLVSubtitleConfigInfo()

Definition at line 453 of file plv-player-def.h.

Field Documentation

◆ alignX

int alignX

[-1 0 1] horizontal position left-center-right, default 0.

Definition at line 473 of file plv-player-def.h.

◆ alignY

int alignY

[-1 0 1] vertical position top-center-bottom, default 1.

Definition at line 474 of file plv-player-def.h.

◆ backgroundColor

const char* backgroundColor

background color ARGB, default #00000000.

Definition at line 472 of file plv-player-def.h.

◆ borderColor

const char* borderColor

border color ARGB, default #FF000000.

Definition at line 471 of file plv-player-def.h.

◆ borderSize

int borderSize

border size, [0, 55], 0 disables borders, default 2.

Definition at line 470 of file plv-player-def.h.

◆ posY

int posY

[0-150] vertical position adjustment, only valid when alignY = 1, default 100.

Definition at line 475 of file plv-player-def.h.

◆ scaleByWindow

bool scaleByWindow

whether to scale subtitles with window size, default true.

Definition at line 476 of file plv-player-def.h.

◆ textColor

const char* textColor

font color ARGB, default #FFFFFFFF.

Definition at line 469 of file plv-player-def.h.

◆ textFont

const char* textFont

font name, default sans-serif.

Definition at line 467 of file plv-player-def.h.

◆ textSize

int textSize

font size, [1, 255], default 38.

Definition at line 468 of file plv-player-def.h.

◆ visible

bool visible

is the subtitle visible, default true.

Definition at line 477 of file plv-player-def.h.


The documentation for this struct was generated from the following file: