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 Resolution = Resolution' {}
- newResolution :: Resolution
- resolution_height :: Lens' Resolution (Maybe Int)
- resolution_width :: Lens' Resolution (Maybe Int)
Documentation
data Resolution Source #
Represents the screen resolution of a device in height and width, expressed in pixels.
See: newResolution
smart constructor.
Instances
newResolution :: Resolution Source #
Create a value of Resolution
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:Resolution'
, resolution_height
- The screen resolution's height, expressed in pixels.
$sel:width:Resolution'
, resolution_width
- The screen resolution's width, expressed in pixels.
resolution_height :: Lens' Resolution (Maybe Int) Source #
The screen resolution's height, expressed in pixels.
resolution_width :: Lens' Resolution (Maybe Int) Source #
The screen resolution's width, expressed in pixels.