NAME

Paws::Textract::Point

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Textract::Point object:

$service_obj->Method(Att1 => { X => $value, ..., Y => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Textract::Point object:

$result = $service_obj->Method(...);
$result->Att1->X

DESCRIPTION

The X and Y coordinates of a point on a document page. The X and Y values that are returned are ratios of the overall document page size. For example, if the input document is 700 x 200 and the operation returns X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the document page.

An array of Point objects, Polygon, is returned by DetectDocumentText. Polygon represents a fine-grained polygon around detected text. For more information, see Geometry in the Amazon Textract Developer Guide.

ATTRIBUTES

X => Num

The value of the X coordinate for a point on a Polygon.

Y => Num

The value of the Y coordinate for a point on a Polygon.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Textract

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues