@zxing/library
Version:
TypeScript port of ZXing multi-format 1D/2D barcode image processing library.
18 lines (17 loc) • 434 B
JavaScript
import DataCharacter from './DataCharacter';
export default class Pair extends DataCharacter {
constructor(value, checksumPortion, finderPattern) {
super(value, checksumPortion);
this.count = 0;
this.finderPattern = finderPattern;
}
getFinderPattern() {
return this.finderPattern;
}
getCount() {
return this.count;
}
incrementCount() {
this.count++;
}
}