Package ai.extend.types
Class EditBoundingBox.Builder
- java.lang.Object
-
- ai.extend.types.EditBoundingBox.Builder
-
- Enclosing class:
- EditBoundingBox
public static final class EditBoundingBox.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditBoundingBox.Builderbottom(java.lang.Double bottom)EditBoundingBox.Builderbottom(java.util.Optional<java.lang.Double> bottom)The bottom coordinate of the bounding box (pixels)EditBoundingBoxbuild()EditBoundingBox.Builderfrom(EditBoundingBox other)EditBoundingBox.Builderleft(java.lang.Double left)EditBoundingBox.Builderleft(java.util.Optional<java.lang.Double> left)The left coordinate of the bounding box (pixels)EditBoundingBox.Builderright(java.lang.Double right)EditBoundingBox.Builderright(java.util.Optional<java.lang.Double> right)The right coordinate of the bounding box (pixels)EditBoundingBox.Buildertop(java.lang.Double top)EditBoundingBox.Buildertop(java.util.Optional<java.lang.Double> top)The top coordinate of the bounding box (pixels)
-
-
-
Method Detail
-
from
public EditBoundingBox.Builder from(EditBoundingBox other)
-
left
public EditBoundingBox.Builder left(java.util.Optional<java.lang.Double> left)
The left coordinate of the bounding box (pixels)
-
left
public EditBoundingBox.Builder left(java.lang.Double left)
-
top
public EditBoundingBox.Builder top(java.util.Optional<java.lang.Double> top)
The top coordinate of the bounding box (pixels)
-
top
public EditBoundingBox.Builder top(java.lang.Double top)
-
right
public EditBoundingBox.Builder right(java.util.Optional<java.lang.Double> right)
The right coordinate of the bounding box (pixels)
-
right
public EditBoundingBox.Builder right(java.lang.Double right)
-
bottom
public EditBoundingBox.Builder bottom(java.util.Optional<java.lang.Double> bottom)
The bottom coordinate of the bounding box (pixels)
-
bottom
public EditBoundingBox.Builder bottom(java.lang.Double bottom)
-
build
public EditBoundingBox build()
-
-