import { EventEmitter, OnInit } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; import { AnnotationValue } from '../image-annotation-data-dto'; import * as i0 from "@angular/core"; export declare class ImageWidgetLightboxViewComponent implements OnInit { dialogRef: MatDialogRef; annotationData: any; annotationValueData: Array; canvas: HTMLCanvasElement; selectedImageId: number; disableNextButton: boolean; disablePreviousButton: boolean; isAnnotationSelected: boolean; annotation: AnnotationValue; ctx: any; selectedAnnotationIndex: number; currentAnnotationNumber: number; showImage: boolean; annotationsImageOriginal: any; scale: number; scaleMultiplier: number; startDragOffset: { x: number; y: number; }; mouseDown: boolean; translatePos: any; mousePosition: any; dialog: MatDialog; isCanvasExpanded: boolean; ratio: number; centerShift_x: number; centerShift_y: number; isImageWithAnnotations: boolean; previouslySelectedAnnotationId: number; expandCanvasDialog: EventEmitter; imageLoaded: boolean; constructor(dialogRef: MatDialogRef, annotationData: any); ngOnInit(): void; click(event: any): void; zoomImage(delta: any): void; setImageForAnnotation(isFirstTimeRender: any): void; showPreviousImage(): void; showNextImage(): void; drawImage(annotation: AnnotationValue, isFirstTimeRender: any): void; renderImageOnCanvas(annotation: any, isFirstTimeRender: any): void; closeDialog(): void; drawAnnotation(annotationData: any, isHighlighted: any): void; showImageWithoutAnnotations(): void; selectAnnotation(selectedIndex: any): void; onCanvasClick(event: any): void; getSelectedComment(): void; /** * Generate random color except blue and white */ getRandomColor(): string; /** * Zoom in image canvas on click event */ imageZoomIn(): void; /** * Zoom out image canvas on click event */ imageZoomOut(): void; /** * Expand image canvas on click */ expandCanvas(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }