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
class-attribute
instance-attribute
#
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.
text_align
class-attribute
instance-attribute
#
The text alignment to be used for the subtitles.
text_scale_factor
class-attribute
instance-attribute
#
text_scale_factor: Number = 1.0
Defines the scale factor for the subtitle text.