Constructor

TextTrackStyle

new TextTrackStyle()

Properties

backgroundColor

(string or undefined)

The background 32 bit RGBA color. The alpha channel should be used for transparent backgrounds.

customData

(non-null Object or undefined)

Custom data set by the receiver application.

edgeColor

(string or undefined)

RGBA color for the edge, this value will be ignored if edgeType is NONE.

edgeType

(non-null cast.framework.messages.TextTrackEdgeType or undefined)

fontFamily

(string or undefined)

If the font is not available in the receiver the fontGenericFamily will be used.

fontGenericFamily

(non-null cast.framework.messages.TextTrackFontGenericFamily or undefined)

The text track generic family.

fontScale

(number or undefined)

The font scaling factor for the text track (the default is 1).

fontStyle

(non-null cast.framework.messages.TextTrackFontStyle or undefined)

The text track font style.

foregroundColor

(string or undefined)

The foreground 32 bit RGBA color.

windowColor

(string or undefined)

32 bit RGBA color for the window. This value will be ignored if windowType is NONE.

windowRoundedCornerRadius

(number or undefined)

Rounded corner radius absolute value in pixels (px). This value will be ignored if windowType is not ROUNDED_CORNERS.

windowType

(non-null cast.framework.messages.TextTrackWindowType or undefined)

The window concept is defined in CEA-608 and CEA-708. In WebVTT is called a region.