class Google::Apis::TranscoderV1::Pad

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

Attributes

bottom_pixels[RW]

The number of pixels to add to the bottom. The default is 0. Corresponds to the JSON property ‘bottomPixels` @return [Fixnum]

left_pixels[RW]

The number of pixels to add to the left. The default is 0. Corresponds to the JSON property ‘leftPixels` @return [Fixnum]

right_pixels[RW]

The number of pixels to add to the right. The default is 0. Corresponds to the JSON property ‘rightPixels` @return [Fixnum]

top_pixels[RW]

The number of pixels to add to the top. The default is 0. Corresponds to the JSON property ‘topPixels` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 1395
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1/classes.rb, line 1400
def update!(**args)
  @bottom_pixels = args[:bottom_pixels] if args.key?(:bottom_pixels)
  @left_pixels = args[:left_pixels] if args.key?(:left_pixels)
  @right_pixels = args[:right_pixels] if args.key?(:right_pixels)
  @top_pixels = args[:top_pixels] if args.key?(:top_pixels)
end