@Generated(value="software.amazon.awssdk:codegen") public final class Geometry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Geometry.Builder,Geometry>
Information about where the text detected by is located on an image.
Modifier and Type | Class and Description |
---|---|
static interface |
Geometry.Builder |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
boundingBox()
An axis-aligned coarse representation of the detected text's location on the image.
|
static Geometry.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<Point> |
polygon()
Within the bounding box, a fine-grained polygon around the detected text.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Geometry.Builder> |
serializableBuilderClass() |
Geometry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public BoundingBox boundingBox()
An axis-aligned coarse representation of the detected text's location on the image.
public List<Point> polygon()
Within the bounding box, a fine-grained polygon around the detected text.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Geometry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Geometry.Builder,Geometry>
public static Geometry.Builder builder()
public static Class<? extends Geometry.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.