@diffusionstudio/core-v4
Version:
2D motion graphics and video rendering engine
12 lines (11 loc) • 504 B
TypeScript
import { Timestamp, Transcript, GeneratorOptions } from '../models';
import { CaptionPreset } from './preset';
import { SingleColorCaptionPresetConfig } from './interfaces';
import { Layer } from '../layer';
import { hex } from '../types';
export declare class VerdantCaptionPreset extends CaptionPreset {
generatorOptions: GeneratorOptions;
color: hex;
constructor(config?: SingleColorCaptionPresetConfig);
apply(layer: Layer, transcript: Transcript, delay: Timestamp): Promise<void>;
}