Icard/angular-clarity-master(work.../node_modules/ngx-image-cropper/lib/services/cropper-position.service.d.ts

15 lines
973 B
TypeScript

import { ElementRef } from '@angular/core';
import { CropperPosition, Dimensions, MoveStart } from '../interfaces';
import { CropperSettings } from '../interfaces/cropper.settings';
import * as i0 from "@angular/core";
export declare class CropperPositionService {
resetCropperPosition(sourceImage: ElementRef, cropperPosition: CropperPosition, settings: CropperSettings, maxSize: Dimensions): void;
move(event: any, moveStart: MoveStart, cropperPosition: CropperPosition): void;
resize(event: any, moveStart: MoveStart, cropperPosition: CropperPosition, maxSize: Dimensions, settings: CropperSettings): void;
checkAspectRatio(position: string, cropperPosition: CropperPosition, maxSize: Dimensions, settings: CropperSettings): void;
getClientX(event: any): number;
getClientY(event: any): number;
static ɵfac: i0.ɵɵFactoryDeclaration<CropperPositionService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CropperPositionService>;
}