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