Timeline Studio API Documentation - v0.26.0
    Preparing search index...

    Расширенный интерфейс для субтитровых клипов

    interface SubtitleClip {
        animationIn?: {
            duration: number;
            easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out";
            type: "slide" | "fade" | "typewriter" | "scale" | "wave";
        };
        animationOut?: {
            duration: number;
            easing?: "linear"
            | "ease"
            | "ease-in"
            | "ease-out"
            | "ease-in-out";
            type: "slide" | "fade" | "scale";
        };
        colorGrading?: AppliedColorGrading;
        createdAt: Date;
        duration: number;
        effects: AppliedEffect[];
        filters: AppliedFilter[];
        formatting?: {
            bold?: boolean;
            color?: string;
            fontSize?: number;
            italic?: boolean;
            underline?: boolean;
        };
        id: string;
        isLocked: boolean;
        isReversed: boolean;
        isSelected: boolean;
        maxWidth?: number;
        mediaEndTime: number;
        mediaFile?: MediaFile;
        mediaId: string;
        mediaStartTime: number;
        name: string;
        opacity: number;
        position?: ClipPosition;
        speed: number;
        startTime: number;
        styleTemplate?: AppliedStyleTemplate;
        subtitlePosition?: {
            alignment: | "top-left"
            | "top-right"
            | "bottom-left"
            | "bottom-right"
            | "top-center"
            | "middle-left"
            | "middle-center"
            | "middle-right"
            | "bottom-center";
            marginX: number;
            marginY: number;
        };
        subtitleStyleId?: string;
        templateCell?: number;
        templateId?: string;
        text: string;
        trackId: string;
        transitions: AppliedTransition[];
        updatedAt: Date;
        volume: number;
        wordWrap?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    animationIn?: {
        duration: number;
        easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out";
        type: "slide" | "fade" | "typewriter" | "scale" | "wave";
    }
    animationOut?: {
        duration: number;
        easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out";
        type: "slide" | "fade" | "scale";
    }
    colorGrading?: AppliedColorGrading
    createdAt: Date
    duration: number
    effects: AppliedEffect[]
    filters: AppliedFilter[]
    formatting?: {
        bold?: boolean;
        color?: string;
        fontSize?: number;
        italic?: boolean;
        underline?: boolean;
    }
    id: string
    isLocked: boolean
    isReversed: boolean
    isSelected: boolean
    maxWidth?: number
    mediaEndTime: number
    mediaFile?: MediaFile
    mediaId: string
    mediaStartTime: number
    name: string
    opacity: number
    position?: ClipPosition
    speed: number
    startTime: number
    styleTemplate?: AppliedStyleTemplate
    subtitlePosition?: {
        alignment:
            | "top-left"
            | "top-right"
            | "bottom-left"
            | "bottom-right"
            | "top-center"
            | "middle-left"
            | "middle-center"
            | "middle-right"
            | "bottom-center";
        marginX: number;
        marginY: number;
    }
    subtitleStyleId?: string
    templateCell?: number
    templateId?: string
    text: string
    trackId: string
    transitions: AppliedTransition[]
    updatedAt: Date
    volume: number
    wordWrap?: boolean