/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.textract.model; import java.io.Serializable; /** *
* 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.
*
* The value of the X coordinate for a point on a Polygon
.
*
* The value of the Y coordinate for a point on a Polygon
.
*
* The value of the X coordinate for a point on a Polygon
.
*
* The value of the X coordinate for a point on a
* Polygon
.
*
* The value of the X coordinate for a point on a Polygon
.
*
* The value of the X coordinate for a point on a
* Polygon
.
*
* The value of the X coordinate for a point on a Polygon
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param x
* The value of the X coordinate for a point on a
* Polygon
.
*
* The value of the Y coordinate for a point on a Polygon
.
*
* The value of the Y coordinate for a point on a
* Polygon
.
*
* The value of the Y coordinate for a point on a Polygon
.
*
* The value of the Y coordinate for a point on a
* Polygon
.
*
* The value of the Y coordinate for a point on a Polygon
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param y
* The value of the Y coordinate for a point on a
* Polygon
.
*