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

Pad

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

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.

interface Pad {
bottomPixels?: number;
leftPixels?: number;
rightPixels?: number;
topPixels?: number;
}

§Properties

§
bottomPixels?: number
[src]

The number of pixels to add to the bottom. The default is 0.

§
leftPixels?: number
[src]

The number of pixels to add to the left. The default is 0.

§
rightPixels?: number
[src]

The number of pixels to add to the right. The default is 0.

§
topPixels?: number
[src]

The number of pixels to add to the top. The default is 0.