VideoSubtitleConfiguration
Represents the configuration for video subtitles.
Properties
-
padding
(PaddingValue
) –The padding to be used for the subtitles.
-
text_align
(TextAlign
) –The text alignment to be used for the subtitles.
-
text_scale_factor
(Number
) –Defines the scale factor for the subtitle text.
-
text_style
(TextStyle
) –The text style to be used for the subtitles.
-
visible
(bool
) –Whether the subtitles should be visible or not.
Properties#
padding
#
padding: PaddingValue = field(
default_factory=lambda: Padding(
left=16.0, top=0.0, right=16.0, bottom=24.0
)
)
The padding to be used for the subtitles.