Creates a shape clip.
Initial shape clip configuration.
Uses another clip as a mask source for this clip.
Clip whose sprite should be used as the mask source.
Optionaloptions: MaskOptionsOptional mask behavior.
The created mask filter, or undefined if the source clip has no sprite.
Optionalproperties: Record<string, any>Removes all custom metadata stored on the clip.
Nothing.
Releases the shape sprite and inherited clip resources.
Nothing.
Cancels or discards any in-progress asynchronous clip work.
Nothing.
Generates a new clip ID and updates dependent runtime objects that store that ID.
Nothing.
Returns a copy of all custom metadata stored on the clip.
A copied metadata map, or undefined if no custom data has been stored.
Returns a stored metadata value for the clip.
Metadata key to look up.
The stored value, or undefined if the key is not present.
Returns the full clip duration before trims are applied.
The clip duration in seconds.
Returns the clip end time in timeline space.
The clip end time in seconds.
Returns the clip ID.
The clip ID.
Indicates whether the clip is currently part of any transition.
true if the clip is inside an incoming or outgoing transition; otherwise false.
Indicates whether the clip is still processing asynchronous work.
false in the base implementation. Subclasses override this for clip-specific processing.
Returns the ID of the layer that currently owns the clip.
The owning layer ID.
Returns the first visible playback time of the clip after left trim is applied.
The left playback bound in seconds.
Returns the amount trimmed from the left edge of the clip.
Left trim in seconds.
Returns the media asset ID currently bound to the clip.
The media asset ID, or undefined for clips without media.
Returns the user-visible clip name.
The clip name.
Returns the final visible playback time of the clip after right trim is applied.
The right playback bound in seconds.
Returns the amount trimmed from the right edge of the clip.
Right trim in seconds.
Returns the clip start time in timeline space.
The clip start time in seconds.
Returns the subtitles asset ID currently assigned to the clip.
The subtitles asset ID, or undefined if none is assigned.
Returns the stored subtitles offset for the clip.
The subtitles offset in seconds.
Returns the incoming transition ID associated with the clip.
The incoming transition ID, or null if none is set.
Returns the outgoing transition ID associated with the clip.
The outgoing transition ID, or null if none is set.
Returns the playable duration after both trims are applied.
The trimmed duration in seconds.
Returns the clip type identifier.
The clip type.
Indicates whether the clip is marked as visible.
true if the clip is renderable; otherwise false.
Indicates whether the clip has a stored metadata value for the provided key.
Metadata key to test.
true if the key exists; otherwise false.
Indicates whether the clip has a non-empty user-visible name.
true if a name is set; otherwise false.
Indicates whether the clip exposes a sprite that can be added to the render stage.
true in the base implementation. Sprite-less subclasses can override this.
Tests whether a screen-space point falls inside the clip's local bounds.
Screen-space cursor coordinates.
OptionalignoreVisibility: booleanWhen true, performs the hit test even if the sprite is not currently visible.
true if the point hits the clip; otherwise false.
Attaches the clip to a layer render container and initializes runtime-only resources.
Layer ID that owns this clip.
A promise that resolves after initialization completes.
Indicates whether the clip is active on the specified timeline frame.
Timeline time in seconds.
true if the current frame falls within the clip playback bounds; otherwise false.
Indicates whether the clip has enough runtime state to render and update.
true when the clip is idle or loaded; otherwise false.
Moves the clip forward or backward on the timeline by the provided offset.
Time delta in seconds.
Nothing.
Starts clip-specific preload work ahead of playback or rendering.
Current timeline time in seconds.
Nothing.
Removes a previously attached clip mask.
Mask source clip to detach.
Nothing.
Removes any subtitles association from the clip.
Nothing.
Resets every animated clip property back to its non-animated base value.
Nothing.
Resets a single animated property back to its base clip/style value.
Registered animation property key.
Nothing.
Serializes the shape clip.
The serialized shape clip payload.
Replaces all custom clip metadata with a copy of the provided map.
Metadata entries to store.
Nothing.
Applies a single animated property value to the clip runtime state.
Registered animation property key.
Value to apply.
Nothing.
Sets the clip blend mode and applies the matching PIXI blend mode.
Blend mode to apply.
Nothing.
Stores arbitrary metadata on the clip.
Metadata key.
Metadata value.
Whether an existing key may be overwritten.
true if the value was stored; otherwise false when overwrite is disabled and the key already exists.
Marks whether the clip is currently inside an incoming transition.
Whether the clip participates in an incoming transition.
Nothing.
Marks whether the clip is currently inside an outgoing transition.
Whether the clip participates in an outgoing transition.
Nothing.
Updates the owning layer ID tracked by the clip.
Owning layer ID.
Nothing.
Sets the user-visible clip name.
Name to assign.
Nothing.
Associates a subtitles asset with the clip and stores its playback offset.
Subtitles asset ID to attach.
Global subtitles offset in seconds.
Nothing.
Replaces the subtitles asset ID assigned to the clip without changing the stored offset.
Subtitles asset ID to assign.
Nothing.
Sets the stored subtitles offset for the clip.
Subtitles offset in seconds.
Nothing.
Sets the incoming transition ID currently associated with the clip.
Incoming transition ID, or null to clear it.
Nothing.
Sets the outgoing transition ID currently associated with the clip.
Outgoing transition ID, or null to clear it.
Nothing.
Sets whether the clip sprite is renderable.
Whether the clip should render.
Nothing.
Sets the texture wrap mode used by the clip.
Wrap mode to apply.
Nothing.
Updates clip animations, keyframed properties, style state, and effect state for the current frame.
Current timeline time in seconds.
Nothing.
OptionalnewMediaId: stringOptionaloptions: ReplaceMediaOptionsStaticdeserializeCreates a shape clip instance from serialized data.
Serialized shape clip payload.
The deserialized shape clip.
Clip implementation that renders vector shapes using the shape style configuration.