SubtitlesSource
class SubtitlesSource extends AssetBasedSource
Defines how to manipulate a subtitle layer.
Learn more: Adding subtitles
Methods
__construct($subtitlesId)
SubtitlesLayer constructor.
getTransformation()
Gets the transformation.
textStyle(array|TextStyle $style)
Sets the text style of the subtitles.
Details
BackgroundColorTrait
backgroundColor(Background|ColorValue|string $color)
Sets the color of the background.
__construct($subtitlesId)
SubtitlesLayer constructor.
VideoTransformation
getTransformation()
Gets the transformation.
$this
textStyle(array|TextStyle $style)
Sets the text style of the subtitles.