VideoUltra API
    Preparing search index...

    Interface CaptionLookPatch

    A change to every caption's look at once.

    interface CaptionLookPatch {
        highlight?: "type" | "fill" | "none" | "word" | "box" | "reveal";
        highlightColor?: string;
        preset?: CaptionPreset;
        scale?: number;
        style?: Partial<
            {
                align: "left"
                | "right"
                | "center";
                background: { color: string; padding: number; radius: number } | null;
                color: string;
                fontFamily: string;
                fontWeight: number;
                italic: boolean;
                letterSpacing: number;
                lineHeight: number;
                outline: { color: string; width: number } | null;
                shadow: { blur: number; color: string; x: number; y: number } | null;
                size: number;
            },
        >;
        x?: number;
        y?: number;
    }
    Index
    highlight?: "type" | "fill" | "none" | "word" | "box" | "reveal"
    highlightColor?: string
    preset?: CaptionPreset

    Apply a preset (text style, place and highlight).

    scale?: number
    style?: Partial<
        {
            align: "left"
            | "right"
            | "center";
            background: { color: string; padding: number; radius: number } | null;
            color: string;
            fontFamily: string;
            fontWeight: number;
            italic: boolean;
            letterSpacing: number;
            lineHeight: number;
            outline: { color: string; width: number } | null;
            shadow: { blur: number; color: string; x: number; y: number } | null;
            size: number;
        },
    >
    x?: number

    Where captions sit (centre, fractions of the canvas) and their size.

    y?: number