scandit-capacitor-datacapture-label 8.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+ import { Size, DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
2
+ export interface PrivateLabelCaptureAdvancedOverlayView {
3
+ data: string;
4
+ toJSON(): string;
5
+ getEncodedImageData(element: HTMLElement): string;
6
+ }
7
+ export interface LabelCaptureAdvancedOverlayViewOptions {
8
+ size?: Size;
9
+ scale?: number;
10
+ }
11
+ export declare class LabelCaptureAdvancedOverlayView extends DefaultSerializeable {
12
+ private data;
13
+ private options;
14
+ static withHTMLElement(element: HTMLElement, options: LabelCaptureAdvancedOverlayViewOptions | null): Promise<LabelCaptureAdvancedOverlayView>;
15
+ static withBase64EncodedData(data: string, options: LabelCaptureAdvancedOverlayViewOptions | null): Promise<LabelCaptureAdvancedOverlayView>;
16
+ private static getEncodedImageData;
17
+ private static getSize;
18
+ private static getSVGDataForElement;
19
+ private static getCanvasWithSize;
20
+ private static getBase64DataForSVG;
21
+ private constructor();
22
+ }
@@ -0,0 +1,6 @@
1
+ import type { ScanditLabelPluginInterface } from './definitions';
2
+ export * from './definitions';
3
+ export declare class ScanditLabelPluginImplementation implements ScanditLabelPluginInterface {
4
+ initialize(coreDefaults: any): Promise<any>;
5
+ }
6
+ export declare const ScanditLabelPlugin: ScanditLabelPluginImplementation;