UNPKG

@scandit/web-datacapture-barcode

Version:

Scandit Data Capture SDK for the Web

43 lines (42 loc) 1.71 kB
import { t as Barcode } from "../../../Barcode-B7a-T3RA.js"; import { t as BarcodeArHighlight } from "../../../BarcodeArHighlight-BIm0-lDz.js"; import { Brush, Point, ScanditIcon } 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/BarcodeArRectangleHighlight.d.ts declare class BarcodeArRectangleHighlight extends ScanditHTMLElement$1 implements BarcodeArHighlight { static tag: "scandit-barcode-ar-rectangle-highlight"; private _brush; private _icon; private _barcode; private static readonly widthCssVariable; private static readonly heightCssVariable; private static readonly backgroundColorCssVariable; private static readonly strokeColorCssVariable; private static readonly strokeWidthCssVariable; constructor(); connectedCallback(): void; 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; private updateBrushColor; private setStylePropertyValue; private getStylePropertyValue; private static createStyleElement; updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void; } declare global { interface HTMLElementTagNameMap { [BarcodeArRectangleHighlight.tag]: BarcodeArRectangleHighlight; } } //#endregion export { BarcodeArRectangleHighlight };