Home > hls.js > CaptionScreen > setPen

CaptionScreen.setPen() method

Signature:

setPen(styles: Partial<PenStyles>): void;

Parameters

Parameter

Type

Description

styles

Partial<PenStyles>

**Returns:**

void