Home > hls.js > CaptionScreen > setBkgData
CaptionScreen.setBkgData() method
Set background/extra foreground, but first do back_space, and then insert space (backwards compatibility).
Signature:
setBkgData(bkgData: Partial<PenStyles>): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
bkgData |
Partial<PenStyles> |
void