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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#heightInteger

Height of rectangle in pixels. Specify only even numbers.

Returns:

  • (Integer)

    Height of rectangle in pixels.

#widthInteger

Width of rectangle in pixels. Specify only even numbers.

Returns:

  • (Integer)

    Width of rectangle in pixels.

#xInteger

The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.

Returns:

  • (Integer)

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

#yInteger

The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.

Returns:

  • (Integer)

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