You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaConvert::Types::Rectangle

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass Rectangle data as a hash:

{
  height: 1, # required
  width: 1, # required
  x: 1, # required
  y: 1, # required
}

Use Rectangle to identify a specific area of the video frame.

Instance Attribute Summary collapse

Instance Attribute Details

#heightInteger

Height of rectangle in pixels.

Returns:

  • (Integer)


11951
11952
11953
11954
11955
11956
11957
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11951

class Rectangle < Struct.new(
  :height,
  :width,
  :x,
  :y)
  include Aws::Structure
end

#widthInteger

Width of rectangle in pixels.

Returns:

  • (Integer)


11951
11952
11953
11954
11955
11956
11957
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11951

class Rectangle < Struct.new(
  :height,
  :width,
  :x,
  :y)
  include Aws::Structure
end

#xInteger

The distance, in pixels, between the rectangle and the left edge of the video frame.

Returns:

  • (Integer)


11951
11952
11953
11954
11955
11956
11957
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11951

class Rectangle < Struct.new(
  :height,
  :width,
  :x,
  :y)
  include Aws::Structure
end

#yInteger

The distance, in pixels, between the rectangle and the top edge of the video frame.

Returns:

  • (Integer)


11951
11952
11953
11954
11955
11956
11957
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11951

class Rectangle < Struct.new(
  :height,
  :width,
  :x,
  :y)
  include Aws::Structure
end