Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AnimationFade

import type { AnimationFade } from "https://googleapis.deno.dev/v1/transcoder:v1.ts";

Display overlay object with fade animation.

interface AnimationFade {
endTimeOffset?: number;
fadeType?: "FADE_TYPE_UNSPECIFIED" | "FADE_IN" | "FADE_OUT";
startTimeOffset?: number;
}

§Properties

§
endTimeOffset?: number
[src]

The time to end the fade animation, in seconds. Default: start_time_offset + 1s

§
fadeType?: "FADE_TYPE_UNSPECIFIED" | "FADE_IN" | "FADE_OUT"
[src]

Required. Type of fade animation: FADE_IN or FADE_OUT.

§
startTimeOffset?: number
[src]

The time to start the fade animation, in seconds. Default: 0

§

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.