Package com.oracle.bmc.aivision.model
Class BoundingPolygon.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.model.BoundingPolygon.Builder
-
- Enclosing class:
- BoundingPolygon
public static class BoundingPolygon.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingPolygon
build()
BoundingPolygon.Builder
copy(BoundingPolygon model)
BoundingPolygon.Builder
normalizedVertices(List<NormalizedVertex> normalizedVertices)
An array of normalized points defining the polygon’s perimeter, with an implicit segment between subsequent points and between the first and last point.
-
-
-
Method Detail
-
normalizedVertices
public BoundingPolygon.Builder normalizedVertices(List<NormalizedVertex> normalizedVertices)
An array of normalized points defining the polygon’s perimeter, with an implicit segment between subsequent points and between the first and last point.Rectangles are defined with four points. For example, [{“x”: 0, “y”: 0}, {“x”: 1, “y”: 0}, {“x”: 1, “y”: 0.5}, {“x”: 0, “y”: 0.5}] represents the top half of an image.
- Parameters:
normalizedVertices
- the value to set- Returns:
- this builder
-
build
public BoundingPolygon build()
-
copy
public BoundingPolygon.Builder copy(BoundingPolygon model)
-
-