UNPKG

systelab-components

Version:

systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.

42 lines (41 loc) 1.88 kB
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class Point { x: number; y: number; constructor(x: number, y: number); } export declare class SignatureCanvasComponent implements AfterViewInit { private _code; private _signature; sign: ElementRef; img: ElementRef; downPath: string; href: string; verificationActive: boolean; isCanvasEmpty: boolean; private cx; width: number; height: number; withCodeVerification: boolean; isDownloadable: boolean; isIncorrectCode: boolean; get signature(): string; signatureChange: EventEmitter<any>; set signature(value: string); finish: EventEmitter<any>; dofinish(): void; get code(): string; codeChange: EventEmitter<any>; set code(value: string); ngAfterViewInit(): void; configureCanvas(): void; captureEvents(canvas: HTMLCanvasElement): void; draw(previousPoint: Point, currentPoint: Point): void; downloadImage(): void; cleanCanvas(): void; finishDrawing(): void; returnCanvas(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SignatureCanvasComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SignatureCanvasComponent, "systelab-signature-canvas", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "withCodeVerification": { "alias": "withCodeVerification"; "required": false; }; "isDownloadable": { "alias": "isDownloadable"; "required": false; }; "isIncorrectCode": { "alias": "isIncorrectCode"; "required": false; }; "signature": { "alias": "signature"; "required": false; }; "code": { "alias": "code"; "required": false; }; }, { "signatureChange": "signatureChange"; "finish": "finish"; "codeChange": "codeChange"; }, never, never, false, never>; }