@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
39 lines (36 loc) • 1.46 kB
TypeScript
import { Brush, ScanditIcon, Point } from '@scandit/web-datacapture-core';
import { ScanditHTMLElement } from '@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js';
import { Barcode } from '../../../Barcode.js';
import { BarcodeArHighlight } from './BarcodeArHighlight.js';
import '@scandit/web-datacapture-core/build/js/private/Serializable';
import '../../../EncodingRange.js';
import '../../../StructuredAppendData.js';
declare class BarcodeArRectangleHighlight extends ScanditHTMLElement implements BarcodeArHighlight {
static tag: "scandit-barcode-ar-rectangle-highlight";
private _brush;
private brushAsDom;
private _icon;
private iconBuilder;
private _barcode;
protected set barcode(barcode: Barcode);
get barcode(): Barcode;
set brush(brush: Brush);
get brush(): Brush;
set icon(icon: ScanditIcon | null);
get icon(): ScanditIcon | null;
set width(width: number);
set height(height: number);
get height(): number;
get width(): number;
static create(barcode: Barcode): BarcodeArRectangleHighlight;
private static register;
connectedCallback(): Promise<void>;
private updateBrushColor;
updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
}
declare global {
interface HTMLElementTagNameMap {
[BarcodeArRectangleHighlight.tag]: BarcodeArRectangleHighlight;
}
}
export { BarcodeArRectangleHighlight };