EditComposition
class EditComposition(val tracks: List<Track>, val effects: List<EffectSpec> = emptyList(), val audio: AudioSpec = AudioSpec.Keep, val fill: Fill = Fill.Black)(source)
A complete, immutable description of an edit: what to read, what to cut, what to apply.
Output format lives in dev.jordond.filmstrip.export.ExportSpec, so one composition can be previewed and then exported at several qualities. Pass the same value to preview() and to export().
Clips live on Tracks, which play at the same time as each other rather than one after another. Most edits have a single track and never name one. clips reads it and the composition builder fills it.
Properties
Functions
Link copied to clipboard
A copy with a different audio treatment.
Link copied to clipboard
A copy whose primary track holds different clips.
Link copied to clipboard
A copy with different composition-level effects.
Link copied to clipboard
A copy with a different fill.
Link copied to clipboard
A copy with different tracks.