libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConvert.Types.Rectangle

Description

 
Synopsis

Documentation

data Rectangle Source #

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

See: newRectangle smart constructor.

Constructors

Rectangle' 

Fields

  • height :: Maybe Natural

    Height of rectangle in pixels. Specify only even numbers.

  • width :: Maybe Natural

    Width of rectangle in pixels. Specify only even numbers.

  • x :: Maybe Natural

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

  • y :: Maybe Natural

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

Instances

Instances details
Eq Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

Read Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

Show Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

Generic Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

Associated Types

type Rep Rectangle :: Type -> Type #

NFData Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

Methods

rnf :: Rectangle -> () #

Hashable Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

ToJSON Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

FromJSON Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

type Rep Rectangle Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Rectangle

type Rep Rectangle = D1 ('MetaData "Rectangle" "Amazonka.MediaConvert.Types.Rectangle" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "Rectangle'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newRectangle :: Rectangle Source #

Create a value of Rectangle with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:height:Rectangle', rectangle_height - Height of rectangle in pixels. Specify only even numbers.

$sel:width:Rectangle', rectangle_width - Width of rectangle in pixels. Specify only even numbers.

$sel:x:Rectangle', rectangle_x - The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.

$sel:y:Rectangle', rectangle_y - The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.

rectangle_height :: Lens' Rectangle (Maybe Natural) Source #

Height of rectangle in pixels. Specify only even numbers.

rectangle_width :: Lens' Rectangle (Maybe Natural) Source #

Width of rectangle in pixels. Specify only even numbers.

rectangle_x :: Lens' Rectangle (Maybe Natural) Source #

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

rectangle_y :: Lens' Rectangle (Maybe Natural) Source #

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