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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/livestream/v1/outputs.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.



242
243
244
245
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 242

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.



242
243
244
245
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 242

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.



242
243
244
245
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 242

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.



242
243
244
245
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 242

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