Creates a subtitle manager with default styling and animation state.
Parses SRT text into a subtitles asset.
Raw SRT document text.
The parsed subtitles asset.
Destroys all subtitle display objects and animation resources.
Nothing.
Requests embedded subtitle tracks from a video media asset.
Video media asset ID.
The raw subtitle extraction result returned by FFmpeg.
Returns the root PIXI container used to render subtitles.
The subtitle display container.
Returns the active highlight animation preset.
The highlight animation.
Indicates whether highlighted word rendering is enabled.
true if highlighted words are rendered; otherwise false.
Returns the current highlighted subtitle text style.
The highlighted text style.
Returns the primary PIXI text object used for main subtitle rendering.
The main subtitle text object.
Returns the current main subtitle text style.
The main text style.
Returns the subtitle anchor position.
The [x, y] subtitle position.
Returns the subtitle scale multiplier.
The current subtitle scale.
Returns the current subtitle display mode.
The text mode.
Checks whether a point intersects the visible subtitle container.
Cursor coordinates in display space.
true if the point hits the visible subtitle region; otherwise false.
Creates the PIXI display objects required to render subtitles and attaches them to the display stage.
Nothing.
Repositions and optionally rescales subtitles after the display size changes.
Previous display width in pixels.
Previous display height in pixels.
New display width in pixels.
New display height in pixels.
Nothing.
Serializes subtitle manager settings and style state.
The serialized subtitle manager payload.
Updates the highlighted word animation preset and playback speed.
Highlight animation preset to use.
Multiplier applied to the animation speed.
Nothing.
Updates the highlighted subtitle text style.
Partial style patch to apply.
When true, resets missing properties to schema defaults before applying the patch.
Nothing.
Enables or disables highlighted word rendering.
Whether highlighted rendering should be enabled.
Nothing.
Updates the main subtitle text style.
Partial style patch to apply.
When true, resets missing properties to schema defaults before applying the patch.
Nothing.
Sets the anchor position of the rendered subtitles.
Horizontal position in display pixels.
Vertical position in display pixels.
Nothing.
Sets the rendered subtitle scale.
Subtitle scale multiplier.
Nothing.
Sets whether subtitles should reveal full lines or only the currently highlighted segment.
Subtitle display mode.
Nothing.
Recomputes the active subtitle text and updates the rendered subtitle graphics.
Current timeline time, in seconds.
Nothing.
Refreshes the duration of subtitle clips that reference the specified subtitles asset.
Subtitles asset ID to refresh.
Nothing.
StaticdeserializeCreates a subtitle manager from serialized data.
Serialized subtitle manager payload.
The deserialized subtitle manager.
Renders active subtitles, handles subtitle styling, and drives highlighted word animation.