CaptionStyle
data class CaptionStyle(val foregroundColor: Int, val backgroundColor: Int, val windowColor: Int, val edgeType: Int, val edgeColor: Int, val typeface: Typeface?)
Styling options for subtitle and caption rendering.
This type mirrors CaptionStyleCompat and is used with SubtitleRendererView.setStyle.
Constructors
Properties
Link copied to clipboard
Background color behind the rendered caption text as an Android ARGB color int.
Link copied to clipboard
Text color as an Android ARGB color int, for example a value from android.graphics.Color.
Link copied to clipboard
Background color of the cue window as an Android ARGB color int.