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 detected item's location on the image.
|
default Geometry.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
An axis-aligned coarse representation of the detected item's location on the image.
|
Geometry.Builder |
polygon(Collection<Point> polygon)
Within the bounding box, a fine-grained polygon around the detected item.
|
Geometry.Builder |
polygon(Consumer<Point.Builder>... polygon)
Within the bounding box, a fine-grained polygon around the detected item.
|
Geometry.Builder |
polygon(Point... polygon)
Within the bounding box, a fine-grained polygon around the detected item.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGeometry.Builder boundingBox(BoundingBox boundingBox)
An axis-aligned coarse representation of the detected item's location on the image.
boundingBox - An axis-aligned coarse representation of the detected item's location on the image.default Geometry.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
An axis-aligned coarse representation of the detected item's location on the image.
This is a convenience 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 detected item.
polygon - Within the bounding box, a fine-grained polygon around the detected item.Geometry.Builder polygon(Point... polygon)
Within the bounding box, a fine-grained polygon around the detected item.
polygon - Within the bounding box, a fine-grained polygon around the detected item.Geometry.Builder polygon(Consumer<Point.Builder>... polygon)
Within the bounding box, a fine-grained polygon around the detected item.
This is a convenience 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.