package com.google.zxing.qrcode.detector;
/**
+ * <p>Encapsulates information about finder patterns in an image, including the location of
+ * the three finder patterns, and their estimated module size.</p>
+ *
* @author srowen@google.com (Sean Owen)
*/
final class FinderPatternInfo {
- private final float rawEstimatedModuleSize;
private final FinderPattern bottomLeft;
private final FinderPattern topLeft;
private final FinderPattern topRight;
- FinderPatternInfo(float rawEstimatedModuleSize,
- FinderPattern[] patternCenters) {
- this.rawEstimatedModuleSize = rawEstimatedModuleSize;
+ FinderPatternInfo(FinderPattern[] patternCenters) {
this.bottomLeft = patternCenters[0];
this.topLeft = patternCenters[1];
this.topRight = patternCenters[2];
}
- float getRawEstimatedModuleSize() {
- return rawEstimatedModuleSize;
- }
-
FinderPattern getBottomLeft() {
return bottomLeft;
}