You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::Rectangle
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::Rectangle
- Defined in:
- (unknown)
Overview
When passing Rectangle as input to an Aws::Client method, you can use a vanilla Hash:
{
height: 1,
width: 1,
x: 1,
y: 1,
}
Use Rectangle to identify a specific area of the video frame.
Returned by:
Instance Attribute Summary collapse
-
#height ⇒ Integer
Height of rectangle in pixels.
-
#width ⇒ Integer
Width of rectangle in pixels.
-
#x ⇒ Integer
The distance, in pixels, between the rectangle and the left edge of the video frame.
-
#y ⇒ Integer
The distance, in pixels, between the rectangle and the top edge of the video frame.
Instance Attribute Details
#height ⇒ Integer
Height of rectangle in pixels. Specify only even numbers.
#width ⇒ Integer
Width of rectangle in pixels. Specify only even numbers.
#x ⇒ Integer
The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.
#y ⇒ Integer
The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.