Package com.google.zxing.pdf417.decoder
Class BoundingBox
- java.lang.Object
-
- com.google.zxing.pdf417.decoder.BoundingBox
-
final class BoundingBox extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ResultPoint
bottomLeft
private ResultPoint
bottomRight
private BitMatrix
image
private int
maxX
private int
maxY
private int
minX
private int
minY
private ResultPoint
topLeft
private ResultPoint
topRight
-
Constructor Summary
Constructors Constructor Description BoundingBox(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight)
BoundingBox(BoundingBox boundingBox)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) BoundingBox
addMissingRows(int missingStartRows, int missingEndRows, boolean isLeft)
(package private) ResultPoint
getBottomLeft()
(package private) ResultPoint
getBottomRight()
(package private) int
getMaxX()
(package private) int
getMaxY()
(package private) int
getMinX()
(package private) int
getMinY()
(package private) ResultPoint
getTopLeft()
(package private) ResultPoint
getTopRight()
(package private) static BoundingBox
merge(BoundingBox leftBox, BoundingBox rightBox)
-
-
-
Field Detail
-
image
private final BitMatrix image
-
topLeft
private final ResultPoint topLeft
-
bottomLeft
private final ResultPoint bottomLeft
-
topRight
private final ResultPoint topRight
-
bottomRight
private final ResultPoint bottomRight
-
minX
private final int minX
-
maxX
private final int maxX
-
minY
private final int minY
-
maxY
private final int maxY
-
-
Constructor Detail
-
BoundingBox
BoundingBox(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight) throws NotFoundException
- Throws:
NotFoundException
-
BoundingBox
BoundingBox(BoundingBox boundingBox)
-
-
Method Detail
-
merge
static BoundingBox merge(BoundingBox leftBox, BoundingBox rightBox) throws NotFoundException
- 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()
-
-