Interface ClipOptions<K>

interface ClipOptions<K extends ClipStyle = ClipStyle> {
    duration?: number;
    effects?: {
        effectId: string;
        id: string;
        properties: [string, any][];
        provider: string;
    }[];
    filters?: {
        clipId?: string;
        filterId: string;
        id: string;
        intensity: number;
        provider: string;
    }[];
    id?: string;
    isVisible?: boolean;
    leftTrim?: number;
    mediaDataId?: string;
    rightTrim?: number;
    startTime?: number;
    style?: Partial<ReturnType<K["serialize"]>>;
    subtitlesId?: string;
    subtitlesOffset?: number;
    type?: string;
    wrapMode?: WrapModeEnum;
}

Type Parameters

Hierarchy (View Summary)

Properties

duration?: number
effects?: {
    effectId: string;
    id: string;
    properties: [string, any][];
    provider: string;
}[]
filters?: {
    clipId?: string;
    filterId: string;
    id: string;
    intensity: number;
    provider: string;
}[]
id?: string
isVisible?: boolean
leftTrim?: number
mediaDataId?: string
rightTrim?: number
startTime?: number
style?: Partial<ReturnType<K["serialize"]>>
subtitlesId?: string
subtitlesOffset?: number
type?: string
wrapMode?: WrapModeEnum