Class: Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Crop

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/transcoder/v1/resources.rb

Overview

Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.

Instance Attribute Summary collapse

Instance Attribute Details

#bottom_pixels::Integer

Returns The number of pixels to crop from the bottom. The default is 0.

Returns:

  • (::Integer)

    The number of pixels to crop from the bottom. The default is 0.



749
750
751
752
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 749

class Crop
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#left_pixels::Integer

Returns The number of pixels to crop from the left. The default is 0.

Returns:

  • (::Integer)

    The number of pixels to crop from the left. The default is 0.



749
750
751
752
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 749

class Crop
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#right_pixels::Integer

Returns The number of pixels to crop from the right. The default is 0.

Returns:

  • (::Integer)

    The number of pixels to crop from the right. The default is 0.



749
750
751
752
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 749

class Crop
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#top_pixels::Integer

Returns The number of pixels to crop from the top. The default is 0.

Returns:

  • (::Integer)

    The number of pixels to crop from the top. The default is 0.



749
750
751
752
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 749

class Crop
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end