Package com.google.zxing.pdf417.decoder
Class BoundingBox
java.lang.Object
com.google.zxing.pdf417.decoder.BoundingBox
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResultPoint
private final ResultPoint
private final BitMatrix
private final int
private final int
private final int
private final int
private final ResultPoint
private final ResultPoint
-
Constructor Summary
ConstructorsConstructorDescriptionBoundingBox
(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight) BoundingBox
(BoundingBox boundingBox) -
Method Summary
Modifier and TypeMethodDescription(package private) BoundingBox
addMissingRows
(int missingStartRows, int missingEndRows, boolean isLeft) (package private) ResultPoint
(package private) ResultPoint
(package private) int
getMaxX()
(package private) int
getMaxY()
(package private) int
getMinX()
(package private) int
getMinY()
(package private) ResultPoint
(package private) ResultPoint
(package private) static BoundingBox
merge
(BoundingBox leftBox, BoundingBox rightBox)
-
Field Details
-
image
-
topLeft
-
bottomLeft
-
topRight
-
bottomRight
-
minX
private final int minX -
maxX
private final int maxX -
minY
private final int minY -
maxY
private final int maxY
-
-
Constructor Details
-
BoundingBox
BoundingBox(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight) throws NotFoundException - Throws:
NotFoundException
-
BoundingBox
BoundingBox(BoundingBox boundingBox)
-
-
Method Details
-
merge
- Throws:
NotFoundException
-
addMissingRows
BoundingBox addMissingRows(int missingStartRows, int missingEndRows, boolean isLeft) throws NotFoundException - Throws:
NotFoundException
-
getMinX
int getMinX() -
getMaxX
int getMaxX() -
getMinY
int getMinY() -
getMaxY
int getMaxY() -
getTopLeft
ResultPoint getTopLeft() -
getTopRight
ResultPoint getTopRight() -
getBottomLeft
ResultPoint getBottomLeft() -
getBottomRight
ResultPoint getBottomRight()
-