Layer
此内容尚不支持你的语言。
Defined in: packages/sdk/src/composition.ts:106
Ordered Composition layer backed by a schema-valid Aelion Track.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Layer(
kind,builder,options):Layer
Defined in: packages/sdk/src/composition.ts:109
Parameters
Section titled “Parameters”"audio" | "visual" | "caption"
builder
Section titled “builder”options
Section titled “options”LayerOptions = {}
Returns
Section titled “Returns”Layer
Properties
Section titled “Properties”
readonlyid:string
Defined in: packages/sdk/src/composition.ts:107
readonlykind:"audio"|"visual"|"caption"
Defined in: packages/sdk/src/composition.ts:110
Methods
Section titled “Methods”audio()
Section titled “audio()”audio(
options):Clip
Defined in: packages/sdk/src/composition.ts:122
Parameters
Section titled “Parameters”options
Section titled “options”Omit<AddMediaClipOptions, "kind" | "trackId">
Returns
Section titled “Returns”caption()
Section titled “caption()”caption(
options):Clip
Defined in: packages/sdk/src/composition.ts:137
Parameters
Section titled “Parameters”options
Section titled “options”Omit<AddCaptionClipOptions, "trackId">
Returns
Section titled “Returns”image()
Section titled “image()”image(
options):Clip
Defined in: packages/sdk/src/composition.ts:127
Parameters
Section titled “Parameters”options
Section titled “options”Omit<AddImageClipOptions, "trackId">
Returns
Section titled “Returns”shape()
Section titled “shape()”shape(
options):Clip
Defined in: packages/sdk/src/composition.ts:142
Parameters
Section titled “Parameters”options
Section titled “options”Omit<AddShapeClipOptions, "trackId">
Returns
Section titled “Returns”text()
Section titled “text()”text(
options):Clip
Defined in: packages/sdk/src/composition.ts:132
Parameters
Section titled “Parameters”options
Section titled “options”Omit<AddTextClipOptions, "trackId">
Returns
Section titled “Returns”video()
Section titled “video()”video(
options):Clip
Defined in: packages/sdk/src/composition.ts:117
Parameters
Section titled “Parameters”options
Section titled “options”Omit<AddMediaClipOptions, "kind" | "trackId">