@zxing/library
Version:
TypeScript port of ZXing multi-format 1D/2D barcode image processing library.
15 lines (14 loc) • 347 B
JavaScript
import DecodedObject from './DecodedObject';
export default class DecodedChar extends DecodedObject {
constructor(newPosition, value) {
super(newPosition);
this.value = value;
}
getValue() {
return this.value;
}
isFNC1() {
return this.value === DecodedChar.FNC1;
}
}
DecodedChar.FNC1 = '$';