| 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 |
Amazonka.Textract.Types.Geometry
Description
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 where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
See: newGeometry smart constructor.
Constructors
| Geometry' | |
Fields
| |
Instances
| FromJSON Geometry Source # | |
| Generic Geometry Source # | |
| Read Geometry Source # | |
| Show Geometry Source # | |
| NFData Geometry Source # | |
Defined in Amazonka.Textract.Types.Geometry | |
| Eq Geometry Source # | |
| Hashable Geometry Source # | |
Defined in Amazonka.Textract.Types.Geometry | |
| type Rep Geometry Source # | |
Defined in Amazonka.Textract.Types.Geometry type Rep Geometry = D1 ('MetaData "Geometry" "Amazonka.Textract.Types.Geometry" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" '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.