@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Point extends Object implements Serializable, Cloneable, StructuredPojo
The X and Y coordinates of a point on a document page.
For additional information, see Point in the Amazon Textract API reference.
Constructor and Description |
---|
Point() |
Modifier and Type | Method and Description |
---|---|
Point |
clone() |
boolean |
equals(Object obj) |
Float |
getX()
The value of the X coordinate for a point on a polygon
|
Float |
getY()
The value of the Y coordinate for a point on a polygon
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setX(Float x)
The value of the X coordinate for a point on a polygon
|
void |
setY(Float y)
The value of the Y coordinate for a point on a polygon
|
String |
toString()
Returns a string representation of this object.
|
Point |
withX(Float x)
The value of the X coordinate for a point on a polygon
|
Point |
withY(Float y)
The value of the Y coordinate for a point on a polygon
|
public void setX(Float x)
The value of the X coordinate for a point on a polygon
x
- The value of the X coordinate for a point on a polygonpublic Float getX()
The value of the X coordinate for a point on a polygon
public Point withX(Float x)
The value of the X coordinate for a point on a polygon
x
- The value of the X coordinate for a point on a polygonpublic void setY(Float y)
The value of the Y coordinate for a point on a polygon
y
- The value of the Y coordinate for a point on a polygonpublic Float getY()
The value of the Y coordinate for a point on a polygon
public Point withY(Float y)
The value of the Y coordinate for a point on a polygon
y
- The value of the Y coordinate for a point on a polygonpublic String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.