Package ai.extend.types
Class EditBoundingBox.Builder
- java.lang.Object
-
- ai.extend.types.EditBoundingBox.Builder
-
- All Implemented Interfaces:
EditBoundingBox._FinalStage,EditBoundingBox.BottomStage,EditBoundingBox.LeftStage,EditBoundingBox.RightStage,EditBoundingBox.TopStage
- Enclosing class:
- EditBoundingBox
public static final class EditBoundingBox.Builder extends java.lang.Object implements EditBoundingBox.LeftStage, EditBoundingBox.TopStage, EditBoundingBox.RightStage, EditBoundingBox.BottomStage, EditBoundingBox._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditBoundingBox._FinalStagebottom(double bottom)The bottom coordinate of the bounding box (pixels)EditBoundingBoxbuild()EditBoundingBox.Builderfrom(EditBoundingBox other)EditBoundingBox.TopStageleft(double left)The left coordinate of the bounding box (pixels)EditBoundingBox.BottomStageright(double right)The right coordinate of the bounding box (pixels)EditBoundingBox.RightStagetop(double top)The top coordinate of the bounding box (pixels)
-
-
-
Method Detail
-
from
public EditBoundingBox.Builder from(EditBoundingBox other)
- Specified by:
fromin interfaceEditBoundingBox.LeftStage
-
left
public EditBoundingBox.TopStage left(double left)
The left coordinate of the bounding box (pixels)
The left coordinate of the bounding box (pixels)
- Specified by:
leftin interfaceEditBoundingBox.LeftStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
top
public EditBoundingBox.RightStage top(double top)
The top coordinate of the bounding box (pixels)
The top coordinate of the bounding box (pixels)
- Specified by:
topin interfaceEditBoundingBox.TopStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
right
public EditBoundingBox.BottomStage right(double right)
The right coordinate of the bounding box (pixels)
The right coordinate of the bounding box (pixels)
- Specified by:
rightin interfaceEditBoundingBox.RightStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
bottom
public EditBoundingBox._FinalStage bottom(double bottom)
The bottom coordinate of the bounding box (pixels)
The bottom coordinate of the bounding box (pixels)
- Specified by:
bottomin interfaceEditBoundingBox.BottomStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public EditBoundingBox build()
- Specified by:
buildin interfaceEditBoundingBox._FinalStage
-
-