UNPKG

@scandit/web-datacapture-barcode

Version:

Scandit Data Capture SDK for the Web

34 lines (31 loc) 1.13 kB
import { Quadrilateral, Anchor, Point, QuadrilateralJSON, AnchorPositionsJSON } from '@scandit/web-datacapture-core'; import { Barcode, BarcodeJSON } from './Barcode.js'; import '@scandit/web-datacapture-core/build/js/private/Serializable'; import './EncodingRange.js'; import './StructuredAppendData.js'; interface TrackedBarcodeJSON { barcode: BarcodeJSON; deltaTime: number; identifier: string; location: QuadrilateralJSON; anchorPositions: AnchorPositionsJSON; shouldAnimateFromPreviousToNextState: boolean; } declare class TrackedBarcode { private _barcode; private _deltaTime; private _identifier; private _location; private _anchorPositions; private _shouldAnimateFromPreviousToNextState; private sessionFrameSequenceID?; get barcode(): Barcode; get deltaTime(): number; get identifier(): number; get location(): Quadrilateral; get shouldAnimateFromPreviousToNextState(): boolean; get anchorPositions(): Quadrilateral; private static fromJSON; getAnchorPosition(anchor: Anchor): Point; } export { TrackedBarcode, type TrackedBarcodeJSON };