Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Geometry = Geometry' {
- boundingBox :: Maybe BoundingBox
- polygon :: Maybe [Point]
- newGeometry :: Geometry
- geometry_boundingBox :: Lens' Geometry (Maybe BoundingBox)
- geometry_polygon :: Lens' Geometry (Maybe [Point])
Documentation
Information about the location of items on a document page.
For additional information, see Geometry in the Amazon Textract API reference.
See: newGeometry
smart constructor.
Geometry' | |
|
Instances
FromJSON Geometry Source # | |
Generic Geometry Source # | |
Read Geometry Source # | |
Show Geometry Source # | |
NFData Geometry Source # | |
Defined in Amazonka.Comprehend.Types.Geometry | |
Eq Geometry Source # | |
Hashable Geometry Source # | |
Defined in Amazonka.Comprehend.Types.Geometry | |
type Rep Geometry Source # | |
Defined in Amazonka.Comprehend.Types.Geometry type Rep Geometry = D1 ('MetaData "Geometry" "Amazonka.Comprehend.Types.Geometry" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "Geometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BoundingBox)) :*: S1 ('MetaSel ('Just "polygon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Point])))) |
newGeometry :: Geometry Source #
Create a value of Geometry
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:boundingBox:Geometry'
, geometry_boundingBox
- An axis-aligned coarse representation of the location of the recognized
item on the document page.
$sel:polygon:Geometry'
, geometry_polygon
- Within the bounding box, a fine-grained polygon around the recognized
item.
geometry_boundingBox :: Lens' Geometry (Maybe BoundingBox) Source #
An axis-aligned coarse representation of the location of the recognized item on the document page.