TextTrackStyleState
State holder for the style of subtitles, such as TextTrackStyleMenu.
Create an instance with rememberTextTrackStyleState.
Properties
The color of the background directly behind the subtitle text, including its opacity.
The opacity of the background directly behind the subtitle text, as a percentage.
The font family of the subtitles.
The opacity of the subtitle text, as a percentage.
Whether the font family can be changed.
The color of the window behind the subtitle text, including its opacity.
The opacity of the window behind the subtitle text, as a percentage.
Functions
Selects the color of the background directly behind the subtitle text, keeping the current background opacity.
Selects the opacity of the background directly behind the subtitle text, keeping the current background color.
Selects the color of the edge of the subtitle text, keeping its current opacity.
Selects the edge style of the subtitle text.
Selects the color of the subtitle text, keeping the current font opacity.
Selects the font family of the subtitles.
Selects the opacity of the subtitle text, keeping the current font color.
Selects the font size of the subtitles, as a percentage of the default font size.
Selects the color of the window behind the subtitle text, keeping the current window opacity.
Selects the opacity of the window behind the subtitle text, keeping the current window color.