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