public static interface Geometry.Builder extends SdkPojo, CopyableBuilder<Geometry.Builder,Geometry>
| Modifier and Type | Method and Description |
|---|---|
Geometry.Builder |
boundingBox(BoundingBox boundingBox)
An axis-aligned coarse representation of the location of the recognized item on the document page.
|
default Geometry.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
An axis-aligned coarse representation of the location of the recognized item on the document page.
|
Geometry.Builder |
polygon(Collection<Point> polygon)
Within the bounding box, a fine-grained polygon around the recognized item.
|
Geometry.Builder |
polygon(Consumer<Point.Builder>... polygon)
Within the bounding box, a fine-grained polygon around the recognized item.
|
Geometry.Builder |
polygon(Point... polygon)
Within the bounding box, a fine-grained polygon around the recognized item.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGeometry.Builder boundingBox(BoundingBox boundingBox)
An axis-aligned coarse representation of the location of the recognized item on the document page.
boundingBox - An axis-aligned coarse representation of the location of the recognized item on the document page.default Geometry.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
An axis-aligned coarse representation of the location of the recognized item on the document page.
This is a convenience method that creates an instance of theBoundingBox.Builder avoiding the need to
create one manually via BoundingBox.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to boundingBox(BoundingBox).boundingBox - a consumer that will call methods on BoundingBox.BuilderboundingBox(BoundingBox)Geometry.Builder polygon(Collection<Point> polygon)
Within the bounding box, a fine-grained polygon around the recognized item.
polygon - Within the bounding box, a fine-grained polygon around the recognized item.Geometry.Builder polygon(Point... polygon)
Within the bounding box, a fine-grained polygon around the recognized item.
polygon - Within the bounding box, a fine-grained polygon around the recognized item.Geometry.Builder polygon(Consumer<Point.Builder>... polygon)
Within the bounding box, a fine-grained polygon around the recognized item.
This is a convenience method that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #polygon(List) .polygon - a consumer that will call methods on List.Builder #polygon(List) Copyright © 2022. All rights reserved.