amazonka-comprehend-2.0: Amazon Comprehend SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Comprehend.Types.Point

Description

 
Synopsis

Documentation

data Point Source #

The X and Y coordinates of a point on a document page.

For additional information, see Point in the Amazon Textract API reference.

See: newPoint smart constructor.

Constructors

Point' 

Fields

  • x :: Maybe Double

    The value of the X coordinate for a point on a polygon

  • y :: Maybe Double

    The value of the Y coordinate for a point on a polygon

Instances

Instances details
FromJSON Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Generic Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Associated Types

type Rep Point :: Type -> Type #

Methods

from :: Point -> Rep Point x #

to :: Rep Point x -> Point #

Read Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Show Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

showsPrec :: Int -> Point -> ShowS #

show :: Point -> String #

showList :: [Point] -> ShowS #

NFData Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

rnf :: Point -> () #

Eq Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

(==) :: Point -> Point -> Bool #

(/=) :: Point -> Point -> Bool #

Hashable Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

hashWithSalt :: Int -> Point -> Int #

hash :: Point -> Int #

type Rep Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

type Rep Point = D1 ('MetaData "Point" "Amazonka.Comprehend.Types.Point" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "Point'" 'PrefixI 'True) (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newPoint :: Point Source #

Create a value of Point 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:x:Point', point_x - The value of the X coordinate for a point on a polygon

$sel:y:Point', point_y - The value of the Y coordinate for a point on a polygon

point_x :: Lens' Point (Maybe Double) Source #

The value of the X coordinate for a point on a polygon

point_y :: Lens' Point (Maybe Double) Source #

The value of the Y coordinate for a point on a polygon