@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
33 lines (32 loc) • 1.35 kB
TypeScript
import { t as BarcodeArAnnotationVariation } from "./BarcodeArAnnotationVariation-nsxy75aq.js";
import { Direction, Point } from "@scandit/web-datacapture-core";
import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js";
//#region src/main/ar/ui/organisms/BarcodeArAnnotation.d.ts
declare enum BarcodeArAnnotationTrigger {
HighlightTap = "highlightTap",
HighlightTapAndBarcodeScan = "highlightTapAndBarcodeScan",
BarcodeScan = "barcodeScan"
}
interface BarcodeArAnnotation extends ScanditHTMLElement$1 {
annotationTrigger: BarcodeArAnnotationTrigger;
updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
}
declare enum BarcodeArAnnotationAnchor {
Top = "top-center",
Bottom = "bottom-center",
Left = "left-center",
Right = "right-center"
}
interface PrivateBarcodeArAnnotation extends BarcodeArAnnotation {
direction?: Direction;
anchor?: BarcodeArAnnotationAnchor;
annotationVariation?: BarcodeArAnnotationVariation;
dataset: {
identifier: `${string}-annotation`;
id: string;
couldBeDeleted: "true" | "false";
onForeground: "true" | "false";
};
}
//#endregion
export { PrivateBarcodeArAnnotation as i, BarcodeArAnnotationAnchor as n, BarcodeArAnnotationTrigger as r, BarcodeArAnnotation as t };