Interface ImageClipOptions

interface ImageClipOptions {
    duration?: number;
    effects?: Effect[];
    filters?: Filter[];
    id?: string;
    leftTrim?: number;
    mediaDataId: string;
    rightTrim?: number;
    startTime?: number;
    style?: Partial<{
        alpha: number;
        clipId: string;
        cornerRadius?: [number, number, number, number];
        height?: number;
        mediaDataId?: string;
        position: [number, number];
        relativeCornerRadius: boolean;
        rotation: number;
        scale: [number, number];
        width?: number;
        zIndex: number;
    }>;
    subtitlesId?: string;
    subtitlesOffset?: number;
    type?: string;
}

Hierarchy (view full)

Properties

duration?: number
effects?: Effect[]
filters?: Filter[]
id?: string
leftTrim?: number
mediaDataId: string
rightTrim?: number
startTime?: number
style?: Partial<{
    alpha: number;
    clipId: string;
    cornerRadius?: [number, number, number, number];
    height?: number;
    mediaDataId?: string;
    position: [number, number];
    relativeCornerRadius: boolean;
    rotation: number;
    scale: [number, number];
    width?: number;
    zIndex: number;
}>

Type declaration

  • alpha: number
  • clipId: string
  • Optional cornerRadius?: [number, number, number, number]
  • Optional height?: number
  • Optional mediaDataId?: string
  • position: [number, number]
  • relativeCornerRadius: boolean
  • rotation: number
  • scale: [number, number]
  • Optional width?: number
  • zIndex: number
subtitlesId?: string
subtitlesOffset?: number
type?: string

Generated using TypeDoc