motiontext-renderer
Version:
Web-based animated caption/subtitle renderer with plugin system
8 lines (7 loc) • 623 B
TypeScript
import { Channels } from '../composer/PluginChainComposer';
import { TextStyle, BoxStyle, Layout } from '../types/layout';
export declare function buildTransform(base: string | undefined, ch: Channels): string;
export declare function applyChannels(el: HTMLElement, baseTransform: string | undefined, ch: Channels): void;
export declare function applyTextStyle(el: HTMLElement, containerHeight: number, style?: TextStyle, trackDefault?: TextStyle): void;
export declare function applyGroupStyle(el: HTMLElement, containerHeight: number, boxStyle?: BoxStyle, layout?: Layout): void;
//# sourceMappingURL=StyleApply.d.ts.map