Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Rectangle = Rectangle' {}
- newRectangle :: Rectangle
- rectangle_height :: Lens' Rectangle (Maybe Natural)
- rectangle_width :: Lens' Rectangle (Maybe Natural)
- rectangle_x :: Lens' Rectangle (Maybe Natural)
- rectangle_y :: Lens' Rectangle (Maybe Natural)
Documentation
Use Rectangle to identify a specific area of the video frame.
See: newRectangle
smart constructor.
Rectangle' | |
|
Instances
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.